/* Koteka Digital — Premium Design System & Motion Layer
   Purpose: visual consistency, premium navbar, lightweight motion, responsive polish.
   Loaded after the production stylesheet by kd-premium.js. */

:root {
  --kd-950: #03111f;
  --kd-900: #061b2f;
  --kd-850: #08243d;
  --kd-800: #0a3152;
  --kd-700: #0b4f79;
  --kd-blue: #1d73d4;
  --kd-gold: #f3bd32;
  --kd-gold-bright: #ffd968;
  --kd-cream: #fff7dc;
  --kd-white: #ffffff;
  --kd-ink: #102a42;
  --kd-muted: #60768a;
  --kd-soft: #eef5fb;
  --kd-line: rgba(11, 58, 91, 0.14);
  --kd-line-dark: rgba(255, 255, 255, 0.12);
  --kd-shadow-sm: 0 12px 28px rgba(3, 17, 31, 0.10);
  --kd-shadow-md: 0 22px 56px rgba(3, 17, 31, 0.14);
  --kd-shadow-lg: 0 34px 90px rgba(2, 12, 22, 0.24);
  --kd-radius-sm: 14px;
  --kd-radius-md: 20px;
  --kd-radius-lg: 28px;
  --kd-radius-xl: 34px;
  --kd-ease: cubic-bezier(.22, 1, .36, 1);
  --kd-content: 1180px;
  --kd-navy-950: #041522;
  --kd-navy-900: #071f33;
  --kd-navy-850: #0a2942;
  --kd-navy-800: #0d3554;
  --kd-gold-500: #eebd3f;
  --kd-gold-400: #f7d36d;
  --kd-light-50: #f7f9fc;
  --kd-light-100: #eef3f8;
  --kd-text-dark: #132a3e;
  --kd-text-muted: #5d7183;
  --kd-text-light: #f7fbff;
  --kd-text-light-muted: #c9d6e2;
  --kd-card-radius: 22px;
  --kd-control-radius: 14px;
  --kd-border-light: rgba(10, 45, 72, .12);
  --kd-border-dark: rgba(255, 255, 255, .12);
  --kd-shadow-card: 0 18px 42px rgba(4, 27, 46, .10);
  --kd-shadow-card-dark: 0 18px 42px rgba(0, 0, 0, .20);
  --kd-bg-home: url("/img/backgrounds/01-laptop-neon.webp");
  --kd-bg-bridge: url("/img/backgrounds/02-keyboard-html-neon.webp");
  --kd-bg-about: url("/img/backgrounds/03-coding-keyboard-hands.webp");
  --kd-bg-services: url("/img/backgrounds/04-computer-code-blue.webp");
  --kd-bg-pricing: url("/img/backgrounds/05-keyboard-mouse-neon.webp");
  --kd-bg-portfolio: url("/img/backgrounds/07-keyboard-html-purple.webp");
  --kd-bg-blog: url("/img/backgrounds/08-laptop-ui-illustration.webp");
  --kd-bg-testimonial: url("/img/backgrounds/09-laptop-analytics-purple.webp");
  --kd-bg-faq: url("/img/backgrounds/10-html-code-concept.webp");
  --kd-bg-contact: url("/img/backgrounds/11-programming-laptop-purple.webp");
  --kd-overlay-dark: linear-gradient(135deg, rgba(12,42,65,.88), rgba(18,67,101,.83));
  --kd-overlay-dark-soft: linear-gradient(135deg, rgba(12,42,65,.84), rgba(22,73,108,.78));
  --kd-overlay-light: linear-gradient(135deg, rgba(248,251,254,.94), rgba(239,246,251,.91));
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  background: #edf4fa;
}

body {
  background:
    radial-gradient(circle at 8% 4%, rgba(255, 216, 104, .08), transparent 22%),
    radial-gradient(circle at 92% 10%, rgba(29, 115, 212, .08), transparent 24%),
    #edf4fa;
  color: var(--kd-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  color: var(--kd-950);
  background: var(--kd-gold-bright);
}

/* Shared SEO fallback used before the React application is mounted. */
.seo-fallback {
  width: min(1120px, 92%);
  min-height: 70vh;
  margin: 0 auto;
  padding: clamp(6rem, 12vw, 9rem) 0 5rem;
  color: var(--kd-ink);
  font: 16px/1.75 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.seo-fallback > section {
  max-width: 860px;
  padding: clamp(26px, 5vw, 54px);
  border: 1px solid rgba(11, 58, 91, .12);
  border-radius: 30px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--kd-shadow-md);
}
.seo-fallback h1 {
  max-width: 760px;
  margin: .5rem 0 1rem;
  color: var(--kd-900);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.06;
  letter-spacing: -.04em;
}
.seo-fallback nav { display:flex; flex-wrap:wrap; gap:.7rem; margin-top:1.5rem; }
.seo-fallback a {
  color: var(--kd-900);
  text-decoration: none;
  border: 1px solid rgba(11,58,91,.14);
  border-radius: 999px;
  padding: 9px 14px;
  background: #fff;
  font-weight: 800;
}

/* Global section rhythm and typography */
main section:not(.hero-section),
.site-footer {
  isolation: isolate;
}

.section-heading,
.services-heading,
.about-heading,
.pricing-header,
.contact-heading,
.faq-heading {
  max-width: 840px;
}

.section-heading h2,
.services-heading h2,
.about-heading h2,
.pricing-header h2,
.contact-heading h2,
.faq-heading h2 {
  letter-spacing: -.035em !important;
  text-wrap: balance;
}

.eyebrow,
.section-kicker,
.service-group-kicker,
.portfolio-label,
.blog-kicker,
.pricing-badge {
  letter-spacing: .12em !important;
}

/* ---------- Premium floating navbar ---------- */
.site-header {
  top: 0;
  z-index: 1500 !important;
  padding: 10px 0 0;
  border-bottom: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transition: padding .25s var(--kd-ease), transform .28s var(--kd-ease) !important;
}

.site-header .nav-shell {
  width: min(1320px, calc(100% - 28px));
  max-width: 1320px;
  min-height: 72px !important;
  margin: 0 auto;
  padding: 8px 10px 8px 14px;
  border: 1px solid rgba(255, 222, 122, .17);
  border-radius: 22px;
  background:
    linear-gradient(110deg, rgba(3, 21, 37, .94), rgba(7, 50, 79, .91)),
    rgba(4, 29, 50, .94);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  backdrop-filter: blur(18px) saturate(125%);
  box-shadow:
    0 18px 44px rgba(2, 13, 24, .32),
    inset 0 1px rgba(255,255,255,.10),
    inset 0 -1px rgba(255,216,104,.08);
  position: relative;
  overflow: visible;
}

.site-header .nav-shell::before {
  content: "";
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 222, 122, .72), transparent);
}

.site-header .brand {
  gap: 10px !important;
  margin-right: clamp(4px, 1vw, 14px) !important;
  border-radius: 16px;
  padding: 4px 7px 4px 4px;
  transition: background .22s ease, transform .22s var(--kd-ease) !important;
}
.site-header .brand:hover,
.site-header .brand:focus-visible {
  background: rgba(255,255,255,.06);
  transform: translateY(-1px);
}
.site-header .brand img {
  width: 48px !important;
  height: 48px !important;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.22));
}
.site-header .brand-text {
  gap: 3px !important;
  font-size: .83rem !important;
  letter-spacing: .08em !important;
}
.site-header .brand-accent { color: var(--kd-gold-bright) !important; }

.nav-menu-desktop {
  gap: 3px !important;
  padding: 4px !important;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 16px;
  background: rgba(255,255,255,.028);
}

.site-header .nav-link,
.site-header .nav-button {
  min-height: 40px !important;
  padding: 9px 11px !important;
  border: 1px solid transparent !important;
  border-radius: 12px !important;
  color: rgba(244, 249, 255, .84) !important;
  font-size: .75rem !important;
  font-weight: 700 !important;
  transition:
    color .2s ease,
    background .2s ease,
    border-color .2s ease,
    transform .2s var(--kd-ease),
    box-shadow .2s ease !important;
}
.site-header .nav-link:hover,
.site-header .nav-button:hover,
.site-header .nav-link:focus-visible,
.site-header .nav-button:focus-visible {
  color: #fff !important;
  border-color: rgba(255, 218, 97, .22) !important;
  background: linear-gradient(135deg, rgba(255, 213, 74, .14), rgba(255,255,255,.07)) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.08), 0 8px 18px rgba(0,0,0,.16) !important;
  transform: translateY(-1px);
}
.site-header .nav-link.active,
.site-header .nav-button.active {
  color: #08213a !important;
  border-color: rgba(255, 227, 128, .78) !important;
  background: linear-gradient(145deg, #ffe787, #f2b828) !important;
  box-shadow: 0 10px 22px rgba(211, 154, 20, .28), inset 0 1px rgba(255,255,255,.6) !important;
}
.site-header .nav-link.active .active-indicator,
.site-header .nav-button.active .active-indicator { display: none !important; }

.dropdown-panel {
  margin-top: 10px !important;
  padding: 9px !important;
  border: 1px solid rgba(255, 222, 122, .18) !important;
  border-radius: 18px !important;
  background: linear-gradient(145deg, rgba(4, 28, 48, .98), rgba(7, 48, 77, .98)) !important;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 60px rgba(0,0,0,.34), inset 0 1px rgba(255,255,255,.08) !important;
}
.dropdown-link {
  border-radius: 11px !important;
  color: rgba(244,249,255,.82) !important;
}
.dropdown-link:hover,
.dropdown-link:focus-visible,
.dropdown-link.active {
  color: #fff !important;
  background: rgba(255,216,104,.11) !important;
}

.cta-pill.whatsapp-button {
  min-height: 44px !important;
  padding: 9px 15px !important;
  border: 1px solid rgba(151, 246, 187, .38) !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #25d366, #128c4a) !important;
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(18, 140, 74, .26), inset 0 1px rgba(255,255,255,.20) !important;
  font-weight: 850 !important;
}
.cta-pill.whatsapp-button img { width: 22px !important; height: 22px !important; }
.cta-pill.whatsapp-button:hover,
.cta-pill.whatsapp-button:focus-visible {
  background: linear-gradient(135deg, #31dc76, #0e7c40) !important;
  transform: translateY(-2px) !important;
}

.app-install-button {
  border: 1px solid rgba(255, 222, 122, .34) !important;
  background: rgba(255, 216, 104, .08) !important;
  color: var(--kd-gold-bright) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.08), 0 8px 18px rgba(0,0,0,.14) !important;
}
.app-install-button:hover,
.app-install-button:focus-visible {
  color: var(--kd-950) !important;
  background: linear-gradient(145deg, #ffe787, #efb526) !important;
}

/* ---------- Hero ---------- */
.hero-section {
  min-height: min(900px, calc(100svh - 20px));
  background:
    radial-gradient(circle at 14% 20%, rgba(255, 205, 52, .19), transparent 22%),
    radial-gradient(circle at 86% 16%, rgba(72, 151, 255, .18), transparent 25%),
    linear-gradient(98deg, rgba(3, 17, 31, .92), rgba(7, 48, 79, .84) 48%, rgba(5, 42, 72, .69)),
    url("/img/backgrounds/01-laptop-neon.webp") center / cover no-repeat !important;
  position: relative;
  overflow: clip !important;
}
.hero-section::after {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: auto -10% -32% 42%;
  width: 60vw;
  height: 60vw;
  border: 1px solid rgba(255, 216, 104, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(255,216,104,.025), 0 0 0 120px rgba(255,255,255,.018);
  animation: kd-orbit 18s linear infinite;
}
.hero-section .hero-grid {
  min-height: min(820px, calc(100svh - 90px)) !important;
  gap: clamp(28px, 4vw, 72px) !important;
  padding-top: clamp(34px, 5vw, 70px) !important;
  padding-bottom: clamp(42px, 5vw, 72px) !important;
}
.hero-section .hero-copy {
  gap: 18px !important;
  padding-inline-start: 0 !important;
}
.hero-section .hero-copy .eyebrow {
  width: fit-content;
  border: 1px solid rgba(255, 222, 122, .22) !important;
  background: rgba(255, 216, 104, .08) !important;
  color: var(--kd-gold-bright) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.08);
}
.hero-section .hero-copy h1 {
  max-width: 850px !important;
  font-size: clamp(2.6rem, 4.4vw, 4.45rem) !important;
  line-height: 1.01 !important;
  letter-spacing: -.055em !important;
  text-shadow: 0 18px 50px rgba(0,0,0,.24);
}
.hero-section .hero-copy > p {
  max-width: 720px;
  color: rgba(236, 245, 252, .83) !important;
  font-size: clamp(.98rem, 1.2vw, 1.08rem);
}
.hero-section .hero-actions {
  gap: 10px !important;
  margin-top: 4px;
}
.hero-section .hero-actions .button {
  min-height: 48px !important;
  border-radius: 14px !important;
  padding-inline: 18px !important;
  font-weight: 850 !important;
}
.hero-section .hero-actions .button-primary,
.hero-section .hero-actions .hero-portfolio-button {
  color: #08213a !important;
  border-color: rgba(255,232,135,.75) !important;
  background: linear-gradient(145deg, #ffe787, #efb526) !important;
  box-shadow: 0 14px 28px rgba(209, 152, 17, .27), inset 0 1px rgba(255,255,255,.65) !important;
}
.hero-section .hero-actions .button-secondary,
.hero-section .hero-actions .hero-pricing-button {
  color: #fff !important;
  border-color: rgba(255,255,255,.18) !important;
  background: rgba(255,255,255,.065) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.08) !important;
}
.hero-section .hero-actions .button:hover,
.hero-section .hero-actions .button:focus-visible { transform: translateY(-3px) !important; }

.hero-section .hero-visual { position: relative; }
.hero-section .hero-card,
.hero-section .hero-card-main {
  border-radius: 30px !important;
}
.hero-section .hero-card-main {
  border: 1px solid rgba(255, 222, 122, .22) !important;
  background: linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.045)) !important;
  box-shadow: 0 32px 75px rgba(0,0,0,.30), inset 0 1px rgba(255,255,255,.12) !important;
  overflow: hidden;
}
.hero-section .hero-card-main::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.12), transparent 24%, transparent 68%, rgba(255,216,104,.10));
}
.hero-section .hero-carousel-image { border-radius: inherit !important; }
.hero-section .hero-stat-grid { gap: 10px !important; }
.hero-section .hero-stat {
  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: 16px !important;
  background: rgba(3, 20, 35, .44) !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px rgba(255,255,255,.07) !important;
}
.hero-section .hero-social-link {
  border: 1px solid rgba(255,255,255,.12) !important;
  background: rgba(255,255,255,.06) !important;
}
.hero-section .hero-social-link:hover,
.hero-section .hero-social-link:focus-visible {
  color: var(--kd-950) !important;
  border-color: var(--kd-gold-bright) !important;
  background: var(--kd-gold-bright) !important;
}

/* ---------- Section surfaces ---------- */
.about-section,.pricing-section,.blog-section,.faq-section,.contact-section{
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 205, 52, .07), transparent 20%),
    radial-gradient(circle at 92% 6%, rgba(29, 115, 212, .07), transparent 22%),
    linear-gradient(180deg, #f8fbfe 0%, #eef4fa 100%) !important;
  color: var(--kd-ink) !important;
}
.services-section,
.portfolio-section,
.testimonial-section,
.site-footer {
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 205, 52, .10), transparent 22%),
    radial-gradient(circle at 90% 8%, rgba(52, 126, 222, .12), transparent 23%),
    linear-gradient(145deg, #031421 0%, #082b49 55%, #063253 100%) !important;
  color: #fff !important;
}

.about-section,.services-section,.pricing-section,.portfolio-section,.blog-section,.testimonial-section,.faq-section,.contact-section{
  padding-block: clamp(78px, 8vw, 118px) !important;
}

/* ---------- Shared premium cards ---------- */
.about-info-card,.info-card,.team-card,.service-card,.pricing-card-reference,.portfolio-card,.blog-card,.testimonial-card,.faq-item,.contact-card,.contact-form-card,.contact-intro-card,.contact-location-card,.contact-cta-card,.pricing-comparison-card{
  border-radius: 24px !important;
  transition:
    transform .3s var(--kd-ease),
    border-color .3s ease,
    box-shadow .3s ease,
    background .3s ease !important;
}

.about-info-card,.info-card,.team-card,.pricing-card-reference,.blog-card,.faq-item,.contact-card,.contact-form-card,.contact-intro-card,.contact-location-card,.pricing-comparison-card{
  border: 1px solid rgba(10, 48, 78, .11) !important;
  background: linear-gradient(150deg, rgba(255,255,255,.97), rgba(247,251,255,.93)) !important;
  box-shadow: 0 18px 46px rgba(4, 31, 53, .09), inset 0 1px rgba(255,255,255,.96) !important;
}

.service-card,
.portfolio-card,
.testimonial-card,
.contact-cta-card {
  border: 1px solid rgba(255,255,255,.10) !important;
  background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.035)) !important;
  box-shadow: 0 20px 46px rgba(0,0,0,.18), inset 0 1px rgba(255,255,255,.08) !important;
}

@media (hover:hover) and (pointer:fine) {
  .about-info-card:hover,.info-card:hover,.team-card:hover,.service-card:hover,.pricing-card-reference:hover,.portfolio-card:hover,.blog-card:hover,.testimonial-card:hover,.faq-item:hover,.contact-card:hover,.contact-form-card:hover,.contact-social-card:hover{
    transform: translateY(-7px) !important;
    box-shadow: 0 28px 62px rgba(3,17,31,.17), inset 0 1px rgba(255,255,255,.11) !important;
  }
}

.card-icon,.about-card-icon,.service-card-icon,.contact-panel-icon,.contact-panel-icon-small,.pricing-card-icon{
  border-radius: 16px !important;
  box-shadow: inset 0 1px rgba(255,255,255,.28), 0 10px 22px rgba(0,0,0,.09) !important;
}

/* About */
.about-logo-panel,
.about-logo-frame {
  border-radius: 30px !important;
}
.about-logo-frame {
  border: 1px solid rgba(11,58,91,.12) !important;
  background: linear-gradient(145deg, #fff, #edf5fb) !important;
  box-shadow: var(--kd-shadow-md) !important;
}
.team-avatar-wrap,
.team-avatar-ring { border-radius: 24px !important; }

/* Services */
.service-group {
  border-radius: 30px !important;
  border: 1px solid rgba(255,255,255,.09) !important;
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.025)) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.07) !important;
}
.service-group-premium {
  border-color: rgba(255, 216, 104, .22) !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,216,104,.10), transparent 24%),
    linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.025)) !important;
}
.service-card-icon { color: var(--kd-gold-bright) !important; }
.service-cta.whatsapp-button { border-radius: 14px !important; }

/* Pricing */
.pricing-package-grid { gap: clamp(16px, 2vw, 26px) !important; }
.pricing-card-reference {
  overflow: hidden;
  position: relative;
}
.pricing-card-reference::before {
  content: "";
  position: absolute;
  inset: 0 12% auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(11,58,91,.26), transparent);
}
.pricing-card-reference.is-highlighted {
  border-color: rgba(213, 167, 43, .55) !important;
  background: linear-gradient(150deg, #fffdf6, #f7fbff 70%) !important;
  box-shadow: 0 26px 62px rgba(142, 102, 12, .16), 0 0 0 3px rgba(255,204,0,.07) !important;
}
.pricing-popular-badge,
.pricing-badge {
  border-radius: 999px !important;
}
.pricing-cta {
  border-radius: 15px !important;
}
.pricing-table-wrap { border-radius: 24px !important; }

/* Portfolio */
.portfolio-showcase { gap: clamp(16px, 2vw, 24px) !important; }
.portfolio-card {
  overflow: hidden;
  border-radius: 28px !important;
}
.portfolio-image,
.portfolio-image img { border-radius: 22px !important; }
.thumb-card { border-radius: 16px !important; }
.tech-list span {
  border-radius: 999px !important;
  background: rgba(255,216,104,.11) !important;
  border-color: rgba(255,216,104,.18) !important;
  color: #ffe99a !important;
}

/* Blog */
.blog-card { overflow: hidden; }
.blog-card-media img {
  width: 100%;
  object-fit: cover;
  transition: transform .55s var(--kd-ease) !important;
}
@media (hover:hover) and (pointer:fine) {
  .blog-card:hover .blog-card-media img { transform: scale(1.035) !important; }
}
.blog-tag,
.blog-chip-row span { border-radius: 999px !important; }
.blog-readmore { font-weight: 850 !important; }

/* Testimonial */
.testimonial-card.featured {
  border-color: rgba(255,216,104,.24) !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,216,104,.08), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,.085), rgba(255,255,255,.035)) !important;
}
.slider-control,
.testimonial-control,
.blog-arrow-button {
  border-radius: 14px !important;
}

/* FAQ */
.faq-list { gap: 10px !important; }
.faq-item { overflow: hidden; }
.faq-trigger,
.faq-question { min-height: 64px !important; }
.faq-icon { border-radius: 12px !important; }

/* Contact */
.contact-main-grid { gap: clamp(18px, 3vw, 34px) !important; }
.contact-social-card { border-radius: 16px !important; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  border-radius: 14px !important;
  border-color: rgba(11,58,91,.15) !important;
  background: rgba(255,255,255,.94) !important;
  box-shadow: inset 0 1px 1px rgba(3,17,31,.025) !important;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: rgba(29,115,212,.55) !important;
  box-shadow: 0 0 0 4px rgba(29,115,212,.09) !important;
}
.contact-cta-button.whatsapp-button { border-radius: 15px !important; }

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 216, 104, .12) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.04);
}
.footer-column,
.footer-links,
.footer-brand { min-width: 0; }
.footer-socials a {
  border-radius: 12px !important;
  border: 1px solid rgba(255,255,255,.11) !important;
  background: rgba(255,255,255,.05) !important;
}

/* Floating WhatsApp */
.floating-wa {
  border: 1px solid rgba(153, 244, 187, .32) !important;
  box-shadow: 0 16px 34px rgba(18,140,74,.30), inset 0 1px rgba(255,255,255,.22) !important;
}

/* ---------- Route pages ---------- */
.route-page-intro {
  border-radius: 0 0 34px 34px;
  background:
    radial-gradient(circle at 8% 8%, rgba(255,204,0,.09), transparent 24%),
    radial-gradient(circle at 92% 8%, rgba(29,115,212,.08), transparent 24%),
    linear-gradient(145deg, #f7fbff, #fff 52%, #fff7db) !important;
}
.route-card,
.route-article-card {
  border-radius: 24px !important;
  border: 1px solid rgba(11,58,91,.12) !important;
  background: rgba(255,255,255,.96) !important;
  box-shadow: var(--kd-shadow-sm) !important;
  transition: transform .28s var(--kd-ease), box-shadow .28s ease !important;
}
@media (hover:hover) and (pointer:fine) {
  .route-card:hover,
  .route-article-card:hover { transform: translateY(-6px); box-shadow: var(--kd-shadow-md) !important; }
}

/* ---------- Static blog articles ---------- */
.article-topbar {
  top: 8px !important;
  margin-inline: auto;
  width: min(1160px, calc(100% - 24px));
  border: 1px solid rgba(255, 221, 117, .18) !important;
  border-radius: 20px !important;
  background: linear-gradient(110deg, rgba(4,25,43,.96), rgba(7,52,82,.94)) !important;
  box-shadow: 0 16px 38px rgba(2,13,24,.26), inset 0 1px rgba(255,255,255,.08) !important;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.article-topbar-inner { padding-inline: 12px !important; }
.article-brand { color: #fff !important; }
.article-brand-title { color: #fff !important; }
.article-brand-subtitle { color: rgba(237,245,252,.68) !important; }
.article-topbar-nav a { color: rgba(244,249,255,.78) !important; border-radius: 10px; }
.article-topbar-nav a:hover,
.article-topbar-nav a:focus-visible { color: var(--kd-950) !important; background: var(--kd-gold-bright) !important; }
.article-shell { padding-top: clamp(38px, 6vw, 72px) !important; }
.article-hero,
.article-body {
  border-radius: 28px !important;
  box-shadow: 0 20px 54px rgba(4,31,53,.10) !important;
}
.article-hero picture,
.article-hero picture img { border-radius: 22px !important; }
.article-body h2 { letter-spacing: -.025em; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  margin-bottom: 18px;
  padding: 10px 16px;
  border: 1px solid rgba(11,58,91,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  color: var(--kd-900);
  text-decoration: none;
  font-size: .86rem;
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(4,31,53,.07);
  transition: transform .22s var(--kd-ease), background .22s ease, color .22s ease, border-color .22s ease;
}
.back-link::before { content: "←"; font-size: 1.05em; }
.back-link:hover,
.back-link:focus-visible {
  color: var(--kd-950);
  border-color: rgba(213,167,43,.45);
  background: linear-gradient(145deg, #ffe787, #f2bd38);
  transform: translateY(-2px);
}
.article-proof,
.cta-box { border-radius: 22px !important; }

/* ---------- Shared motion classes ---------- */
.kd-reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
}
.kd-reveal.kd-in {
  opacity: 1;
  transform: translate3d(0,0,0);
  transition: opacity .58s ease, transform .72s var(--kd-ease);
}
.kd-stagger > * { transition-delay: calc(var(--kd-i, 0) * 55ms); }

#kd-scroll-progress {
  position: fixed;
  z-index: 5000;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
  background: linear-gradient(90deg, #f0b92f, #ffe98f, #3d91ef);
  box-shadow: 0 0 18px rgba(255, 216, 104, .34);
}

/* micro-motion */
@keyframes kd-orbit { to { transform: rotate(360deg); } }
@keyframes kd-soft-float { 0%,100%{transform:translate3d(0,0,0)} 50%{transform:translate3d(0,-7px,0)} }
@keyframes kd-icon-breathe { 0%,100%{transform:scale(1)} 50%{transform:scale(1.06)} }

@media (hover:hover) and (pointer:fine) {
  .hero-section .hero-card-main { animation: kd-soft-float 6s ease-in-out infinite; }
  .service-card:hover .service-card-icon,.about-info-card:hover .about-card-icon{ animation: kd-icon-breathe 1.3s ease-in-out infinite; }
}

/* ---------- Tablet & mobile ---------- */
@media (max-width: 1100px) {
  .site-header .nav-shell { width: min(100% - 18px, 1320px); }
  .site-header .nav-link, .site-header .nav-button { padding-inline: 9px !important; font-size: .72rem !important; }
  .site-header .brand-text { font-size: .76rem !important; }
}

@media (max-width: 900px) {
  html { scrollbar-gutter: auto; }
  body { padding-bottom: calc(82px + env(safe-area-inset-bottom)) !important; }
  .site-header { padding: 0 !important; }
  .site-header .nav-shell {
    width: 100%;
    min-height: 66px !important;
    border-width: 0 0 1px !important;
    border-radius: 0 0 18px 18px !important;
    padding: 7px 12px !important;
    background: linear-gradient(110deg, rgba(3,21,37,.985), rgba(7,47,76,.98)) !important;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: 0 14px 30px rgba(2,13,24,.24) !important;
  }
  .site-header .nav-shell::before { left: 12%; right: 12%; }
  .site-header .brand img { width: 43px !important; height: 43px !important; }
  .hamburger {
    width: 44px !important;
    height: 44px !important;
    border: 1px solid rgba(255,216,104,.18) !important;
    border-radius: 13px !important;
    background: rgba(255,255,255,.055) !important;
    box-shadow: inset 0 1px rgba(255,255,255,.07) !important;
  }
  .nav-menu-mobile {
    width: min(88vw, 370px) !important;
    border-left: 1px solid rgba(255,216,104,.15) !important;
    background: linear-gradient(160deg, #031522 0%, #082f4e 100%) !important;
    box-shadow: -26px 0 65px rgba(0,0,0,.36) !important;
  }
  .mobile-menu-header {
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
    background: rgba(255,255,255,.025);
  }
  .nav-menu-mobile .nav-link,
  .nav-menu-mobile .nav-button,
  .mobile-submenu-toggle {
    min-height: 48px !important;
    border-radius: 13px !important;
  }
  .mobile-bottom-nav-shell {
    border: 1px solid rgba(255,216,104,.14) !important;
    background: linear-gradient(145deg, rgba(3,19,33,.985), rgba(6,42,70,.985)) !important;
    box-shadow: 0 -12px 32px rgba(2,13,24,.25), inset 0 1px rgba(255,255,255,.07) !important;
  }
  .mobile-bottom-nav-item.active {
    color: #08213a !important;
    background: linear-gradient(145deg, #ffe787, #efb526) !important;
    border-color: rgba(255,231,135,.75) !important;
  }
  .mobile-bottom-nav-item.active .mobile-bottom-nav-icon {
    color: #08213a !important;
    background: rgba(255,255,255,.34) !important;
  }

  .hero-section {
    min-height: auto;
    background:
      radial-gradient(circle at 18% 10%, rgba(255,205,52,.14), transparent 24%),
      linear-gradient(155deg, #031421 0%, #082e4d 70%, #063253 100%) !important;
  }
  .hero-section::after { display:none; }
  .hero-section .hero-grid {
    min-height: auto !important;
    gap: 22px !important;
    padding-top: 28px !important;
    padding-bottom: 44px !important;
  }
  .hero-section .hero-copy h1 {
    font-size: clamp(2rem, 9vw, 3.15rem) !important;
    line-height: 1.04 !important;
  }
  .hero-section .hero-actions { gap: 7px !important; }
  .hero-section .hero-actions .button { min-height: 46px !important; border-radius: 12px !important; }
  .hero-section .hero-card-main { animation: none !important; }
  .hero-section .hero-stat { -webkit-backdrop-filter:none; backdrop-filter:none; }

  .about-section,.services-section,.pricing-section,.portfolio-section,.blog-section,.testimonial-section,.faq-section,.contact-section{ padding-block: 72px !important; }

  .article-topbar {
    top: 0 !important;
    width: 100%;
    border-width: 0 0 1px !important;
    border-radius: 0 0 18px 18px !important;
    -webkit-backdrop-filter:none;
    backdrop-filter:none;
  }
  .article-topbar-inner { width: min(100% - 18px, 1120px) !important; }
  .article-menu-toggle {
    border-color: rgba(255,216,104,.18) !important;
    background: rgba(255,255,255,.055) !important;
  }
  .article-mobile-sidebar {
    background: linear-gradient(160deg, #031522, #082f4e) !important;
  }
}

@media (max-width: 640px) {
  .container { padding-inline: 14px !important; }
  .site-header .brand-text { display: inline-flex !important; font-size: .72rem !important; }
  .site-header .brand img { width: 40px !important; height: 40px !important; }
  .hero-section .hero-copy h1 { font-size: clamp(1.92rem, 10.1vw, 2.75rem) !important; }
  .hero-section .hero-copy > p { font-size: .94rem !important; line-height: 1.7 !important; }
  .hero-section .hero-actions { grid-template-columns: 1fr 1fr !important; }
  .hero-section .hero-actions .button:nth-child(3) { grid-column: 1 / -1; }
  .hero-section .hero-actions .button { padding-inline: 10px !important; font-size: .75rem !important; }
  .about-section,.services-section,.pricing-section,.portfolio-section,.blog-section,.testimonial-section,.faq-section,.contact-section{ padding-block: 62px !important; }
  .about-info-card,.info-card,.team-card,.service-card,.pricing-card-reference,.portfolio-card,.blog-card,.testimonial-card,.faq-item,.contact-card,.contact-form-card,.contact-intro-card,.contact-location-card,.contact-cta-card{ border-radius: 20px !important; }
  .route-page-intro { border-radius: 0 0 24px 24px; }
  .article-shell { padding-inline: 12px !important; }
  .article-hero, .article-body { border-radius: 22px !important; }
}

/* Low-power & accessibility safeguards */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .kd-reveal { opacity:1 !important; transform:none !important; }
  #kd-scroll-progress { display:none !important; }
}

@media (pointer: coarse), (max-width: 900px) {
  .site-header .nav-shell,
  .article-topbar,
  .hero-section .hero-stat { -webkit-backdrop-filter:none !important; backdrop-filter:none !important; }
  .kd-reveal { opacity:1; transform:none; }
}

/* Premium navbar depth after the visitor starts scrolling. */
.site-header.kd-scrolled .nav-shell {
  border-color: rgba(255, 216, 104, .26) !important;
  box-shadow: 0 22px 52px rgba(2, 20, 35, .28), 0 0 0 1px rgba(255, 255, 255, .025) inset !important;
}
.article-topbar.kd-scrolled {
  border-color: rgba(255, 216, 104, .22) !important;
  box-shadow: 0 14px 36px rgba(2, 20, 35, .18) !important;
}
@media (pointer: coarse), (max-width: 900px) {
  .site-header.kd-scrolled .nav-shell,
  .article-topbar.kd-scrolled { box-shadow: none !important; }
}

/* ========================================================================
   KOTEKA DIGITAL — FINAL CONSISTENCY & READABILITY PASS
   Scope: typography, section/card readability, zoom resilience, about logo,
   color consistency and handcrafted visual polish only.
   ======================================================================== */



html,
body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

body,
button,
input,
select,
textarea {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

body {
  color: var(--kd-text-dark) !important;
  background: var(--kd-light-100) !important;
  font-weight: 400;
}

/* Keep icon fonts intact while all textual UI inherits Poppins. */
.fa,
.fas,
.far,
.fal,
.fad,
.fab,
.fa-solid,
.fa-regular,
.fa-brands,
[class^="fa-"],
[class*=" fa-"] {
  font-family: var(--fa-style-family, "Font Awesome 6 Free") !important;
}
.fa-brands,
.fab { font-family: "Font Awesome 6 Brands" !important; }

*,
*::before,
*::after { box-sizing: border-box; }

h1,
h2,
h3,
h4,
h5,
h6,
p,
li,
a,
button,
label,
span,
strong,
small {
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", system-ui, sans-serif !important;
  font-weight: 800 !important;
  overflow-wrap: anywhere;
}

p,
li,
label,
a,
button,
input,
select,
textarea {
  overflow-wrap: anywhere;
}

/* A single content width from navbar through footer keeps zoom behavior stable. */
.container,
.article-topbar-inner,
.footer-container {
  width: min(var(--kd-content), calc(100% - 32px)) !important;
  max-width: var(--kd-content) !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
}

.site-header .nav-shell {
  width: min(var(--kd-content), calc(100% - 32px)) !important;
  max-width: var(--kd-content) !important;
}

main,
main section,
.site-footer,
.route-page,
.article-shell {
  width: 100%;
  max-width: 100%;
}

img,
picture,
video,
iframe,
svg {
  max-width: 100%;
}

/* ---------- Section system: deliberate dark/light rhythm ---------- */
.hero-section,
.about-section,
.services-section,
.portfolio-section,
.testimonial-section,
.faq-section {
  color: var(--kd-text-light) !important;
  background: var(--kd-navy-900) !important;
  border-block: 1px solid rgba(255,255,255,.045);
}

.pricing-section,.blog-section,.contact-section{
  color: var(--kd-text-dark) !important;
  background: var(--kd-light-50) !important;
  border-block: 1px solid rgba(10,45,72,.06);
}

.site-footer {
  color: var(--kd-text-light) !important;
  background: var(--kd-navy-950) !important;
}

.about-section,.services-section,.pricing-section,.portfolio-section,.blog-section,.testimonial-section,.faq-section,.contact-section{
  padding-block: clamp(76px, 7vw, 104px) !important;
}

.section-heading,
.services-heading,
.about-heading,
.pricing-header,
.contact-heading,
.faq-heading,
.blog-section-intro {
  gap: 12px !important;
  max-width: 860px !important;
  margin-bottom: clamp(28px, 4vw, 42px) !important;
}

.section-heading h2,
.services-heading h2,
.about-heading h2,
.pricing-header h2,
.contact-heading h2,
.faq-heading h2,
.blog-section-intro h2 {
  font-size: clamp(1.8rem, 3vw, 2.55rem) !important;
  line-height: 1.14 !important;
  letter-spacing: -.035em !important;
}

.section-heading p,
.services-heading p,
.about-lead,
.pricing-header p,
.contact-heading p,
.faq-heading p,
.blog-section-intro p {
  max-width: 760px;
  font-size: clamp(.92rem, 1.05vw, 1rem) !important;
  line-height: 1.72 !important;
}

.hero-section h1,
.about-section h2,
.about-section h3,
.services-section h2,
.services-section h3,
.services-section h4,
.portfolio-section h2,
.portfolio-section h3,
.testimonial-section h2,
.testimonial-section h3,
.faq-section h2,
.faq-section h3 {
  color: var(--kd-text-light) !important;
}

.about-section p,
.services-section p,
.services-section li,
.portfolio-section p,
.testimonial-section p,
.faq-section p {
  color: var(--kd-text-light-muted) !important;
  opacity: 1 !important;
}

.pricing-section h2,.pricing-section h3,.blog-section h2,.blog-section h3,.contact-section h2,.contact-section h3{
  color: var(--kd-text-dark) !important;
}

.pricing-section p,.pricing-section li,.blog-section p,.contact-section p,.contact-section label{
  color: var(--kd-text-muted) !important;
  opacity: 1 !important;
}

.eyebrow,
.section-kicker,
.service-group-kicker,
.blog-kicker,
.portfolio-label,
.pricing-badge {
  font-family: "Poppins", system-ui, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
}

/* ---------- Card system ---------- */
.about-info-card,.info-card,.team-card,.service-card,.pricing-card-reference,.portfolio-card,.blog-card,.testimonial-card,.faq-item,.contact-card,.contact-form-card,.contact-intro-card,.contact-location-card,.contact-cta-card,.pricing-comparison-card,.route-card,.route-article-card{
  border-radius: var(--kd-card-radius) !important;
}

.pricing-card-reference,.blog-card,.contact-card,.contact-form-card,.contact-intro-card,.contact-location-card,.pricing-comparison-card,.route-card,.route-article-card{
  color: var(--kd-text-dark) !important;
  background: #fff !important;
  border: 1px solid var(--kd-border-light) !important;
  box-shadow: var(--kd-shadow-card) !important;
}

.about-info-card,
.team-card,
.service-card,
.portfolio-card,
.testimonial-card,
.faq-item,
.contact-cta-card {
  color: var(--kd-text-light) !important;
  background: var(--kd-navy-850) !important;
  border: 1px solid var(--kd-border-dark) !important;
  box-shadow: var(--kd-shadow-card-dark) !important;
}

.about-info-card h3,
.team-card h3,
.team-card h4,
.service-card h3,
.service-card h4,
.portfolio-card h3,
.testimonial-card h3,
.faq-item h3,
.contact-cta-card h3 {
  color: var(--kd-text-light) !important;
}

.about-info-card p,
.team-card p,
.service-card p,
.service-card li,
.portfolio-card p,
.testimonial-card p,
.faq-item p,
.contact-cta-card p {
  color: var(--kd-text-light-muted) !important;
  opacity: 1 !important;
}

.pricing-card-reference h3,.blog-card h3,.contact-card h3,.contact-form-card h3,.contact-intro-card h3,.contact-location-card h3,.route-card h3,.route-article-card h3{
  color: var(--kd-text-dark) !important;
}

.pricing-card-reference p,.pricing-card-reference li,.blog-card p,.contact-card p,.contact-form-card p,.contact-intro-card p,.contact-location-card p,.route-card p,.route-article-card p{
  color: var(--kd-text-muted) !important;
  opacity: 1 !important;
}

.card-icon,.about-card-icon,.service-card-icon,.contact-panel-icon,.contact-panel-icon-small,.pricing-card-icon{
  display: grid !important;
  place-items: center !important;
  flex: 0 0 auto;
  border-radius: 14px !important;
}

.about-section .about-card-icon,
.services-section .service-card-icon,
.portfolio-section .portfolio-icon,
.testimonial-section .testimonial-icon,
.faq-section .faq-icon {
  color: var(--kd-gold-400) !important;
}

/* Hover is subtle and intentional instead of template-like/glowy. */
@media (hover:hover) and (pointer:fine) {
  .about-info-card:hover,.team-card:hover,.service-card:hover,.pricing-card-reference:hover,.portfolio-card:hover,.blog-card:hover,.testimonial-card:hover,.faq-item:hover,.contact-card:hover,.contact-form-card:hover,.route-card:hover,.route-article-card:hover{
    transform: translateY(-4px) !important;
  }
}

/* ---------- Navbar: cleaner handcrafted premium treatment ---------- */
.site-header {
  padding-top: 10px !important;
}

.site-header .nav-shell {
  min-height: 70px !important;
  padding: 8px 10px 8px 12px !important;
  border: 1px solid rgba(247, 211, 109, .20) !important;
  border-radius: 18px !important;
  background: rgba(4, 21, 34, .96) !important;
  box-shadow: 0 14px 34px rgba(0,0,0,.22) !important;
  -webkit-backdrop-filter: blur(12px) saturate(115%) !important;
  backdrop-filter: blur(12px) saturate(115%) !important;
}

.site-header .nav-shell::before {
  left: 18% !important;
  right: 18% !important;
  background: linear-gradient(90deg, transparent, rgba(247,211,109,.46), transparent) !important;
}

.site-header .brand {
  flex: 0 0 auto;
  padding: 3px 8px 3px 3px !important;
}
.site-header .brand img {
  width: 46px !important;
  height: 46px !important;
}
.site-header .brand-text {
  color: #fff !important;
  font-family: "Poppins", system-ui, sans-serif !important;
  font-size: .78rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}
.site-header .brand-accent { color: var(--kd-gold-400) !important; }

.nav-menu-desktop {
  flex: 1 1 auto !important;
  justify-content: flex-end !important;
  gap: 2px !important;
  min-width: 0 !important;
  padding: 3px !important;
  border: 0 !important;
  background: transparent !important;
}

.site-header .nav-link,
.site-header .nav-button {
  min-height: 40px !important;
  padding: 8px 10px !important;
  border-radius: 11px !important;
  color: #dce7f0 !important;
  font-family: "Poppins", system-ui, sans-serif !important;
  font-size: .74rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}
.site-header .nav-link:hover,
.site-header .nav-button:hover,
.site-header .nav-link:focus-visible,
.site-header .nav-button:focus-visible {
  color: #fff !important;
  background: rgba(255,255,255,.07) !important;
  border-color: rgba(247,211,109,.20) !important;
  transform: none !important;
}
.site-header .nav-link.active,
.site-header .nav-button.active {
  color: var(--kd-navy-950) !important;
  background: var(--kd-gold-400) !important;
  border-color: var(--kd-gold-400) !important;
  box-shadow: none !important;
}

.dropdown-panel {
  border-radius: 16px !important;
  background: var(--kd-navy-900) !important;
  border-color: rgba(247,211,109,.18) !important;
  box-shadow: 0 18px 42px rgba(0,0,0,.28) !important;
}
.dropdown-link {
  color: #dce7f0 !important;
  font-family: "Poppins", system-ui, sans-serif !important;
  font-weight: 600 !important;
}
.dropdown-link:hover,
.dropdown-link:focus-visible,
.dropdown-link.active {
  color: #fff !important;
  background: rgba(247,211,109,.10) !important;
}

.cta-pill.whatsapp-button {
  flex: 0 0 auto;
  min-height: 42px !important;
  border-radius: 12px !important;
  font-family: "Poppins", system-ui, sans-serif !important;
  font-size: .75rem !important;
  font-weight: 700 !important;
}

/* ---------- About: one unified logo card, no double-card appearance ---------- */
.about-section .about-logo-panel {
  gap: 0 !important;
  overflow: hidden;
  padding: 18px !important;
  border: 1px solid rgba(247,211,109,.22) !important;
  border-radius: 24px !important;
  background: var(--kd-navy-850) !important;
  box-shadow: var(--kd-shadow-card-dark) !important;
}

.about-section .about-logo-frame,
.about-section .about-logo-contact {
  width: 100%;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.about-section .about-logo-frame {
  min-height: clamp(240px, 28vw, 350px) !important;
  padding: 16px 16px 20px !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

.about-section .about-logo-frame::before,
.about-section .about-logo-frame::after {
  display: none !important;
  content: none !important;
}

.about-section .about-logo {
  width: min(100%, 280px) !important;
  height: auto !important;
  filter: drop-shadow(0 14px 22px rgba(0,0,0,.28)) !important;
  box-shadow: none !important;
}

.about-section .about-logo-contact {
  padding: 16px 4px 4px !important;
  border-top: 1px solid rgba(255,255,255,.11) !important;
  border-radius: 0 !important;
}
.about-section .about-logo-socials-label {
  color: var(--kd-text-light-muted) !important;
  font-family: "Poppins", system-ui, sans-serif !important;
  font-size: .72rem !important;
  font-weight: 600 !important;
}
.about-section .about-logo-social-links a,
.about-section .about-logo-social-link-static {
  width: 42px !important;
  height: 42px !important;
  color: var(--kd-gold-400) !important;
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  box-shadow: none !important;
}
.about-section .about-logo-social-links a:hover,
.about-section .about-logo-social-links a:focus-visible {
  color: var(--kd-navy-950) !important;
  background: var(--kd-gold-400) !important;
  border-color: var(--kd-gold-400) !important;
}

/* ---------- Forms, buttons and controls ---------- */
.button,
.pricing-cta,
.portfolio-cta,
.blog-cta,
.contact-cta-button,
.contact-form button,
.back-link,
.app-install-button,
.app-install-dialog-actions button {
  font-family: "Poppins", system-ui, sans-serif !important;
  font-weight: 700 !important;
  border-radius: var(--kd-control-radius) !important;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  min-height: 46px;
  color: var(--kd-text-dark) !important;
  font-family: "Poppins", system-ui, sans-serif !important;
  font-size: .92rem !important;
  background: #fff !important;
  border: 1px solid rgba(10,45,72,.16) !important;
  border-radius: 12px !important;
}
.contact-form textarea { min-height: 132px; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #8494a3 !important; }

/* ---------- Footer ---------- */
.site-footer,
.site-footer p,
.site-footer a,
.site-footer h3,
.site-footer h4,
.footer-brand,
.footer-links {
  font-family: "Poppins", system-ui, sans-serif !important;
}
.site-footer p,
.site-footer a { color: var(--kd-text-light-muted) !important; }
.site-footer h3,
.site-footer h4 { color: #fff !important; }
.footer-socials a {
  color: var(--kd-gold-400) !important;
  background: rgba(255,255,255,.055) !important;
  border-color: rgba(255,255,255,.10) !important;
  box-shadow: none !important;
}

/* ---------- Static article typography ---------- */
.article-topbar,
.article-topbar a,
.article-shell,
.article-shell h1,
.article-shell h2,
.article-shell h3,
.article-shell p,
.article-shell li,
.article-shell a,
.article-mobile-sidebar {
  font-family: "Poppins", system-ui, sans-serif !important;
}
.article-topbar {
  width: min(var(--kd-content), calc(100% - 32px)) !important;
  max-width: var(--kd-content) !important;
  background: rgba(4,21,34,.97) !important;
  border-radius: 18px !important;
}
.article-hero,
.article-body {
  border-radius: var(--kd-card-radius) !important;
}

/* ---------- Zoom / responsive resilience ---------- */
@media (min-width: 901px) and (max-width: 1180px) {
  .site-header .nav-shell {
    min-height: 66px !important;
  }
  .nav-menu-desktop,
  .site-header .cta-pill {
    display: none !important;
  }
  .hamburger {
    display: inline-flex !important;
    flex: 0 0 44px;
    width: 44px !important;
    height: 44px !important;
    margin-left: auto !important;
    border: 1px solid rgba(247,211,109,.20) !important;
    border-radius: 12px !important;
    background: rgba(255,255,255,.06) !important;
  }
  .nav-menu-mobile {
    display: flex !important;
    width: min(88vw, 380px) !important;
    background: var(--kd-navy-900) !important;
    border-color: rgba(247,211,109,.18) !important;
  }
  .nav-overlay-mobile { display: block !important; }
}

@media (max-width: 900px) {
  .container,
  .article-topbar-inner,
  .footer-container {
    width: min(100% - 24px, var(--kd-content)) !important;
  }
  .site-header {
    padding-top: 0 !important;
  }
  .site-header .nav-shell {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 64px !important;
    padding: 7px 12px !important;
    border-radius: 0 0 16px 16px !important;
    background: var(--kd-navy-950) !important;
  }
  .nav-menu-mobile {
    background: var(--kd-navy-900) !important;
  }
  .nav-menu-mobile .nav-link,
  .nav-menu-mobile .nav-button,
  .mobile-submenu-toggle,
  .mobile-menu-brand-title,
  .mobile-menu-brand-subtitle {
    font-family: "Poppins", system-ui, sans-serif !important;
  }
  .nav-menu-mobile .nav-link,
  .nav-menu-mobile .nav-button {
    color: #e5edf4 !important;
    font-size: .9rem !important;
    font-weight: 600 !important;
  }
  .mobile-bottom-nav-text {
    font-family: "Poppins", system-ui, sans-serif !important;
    font-size: .66rem !important;
    font-weight: 600 !important;
  }
  .about-section,.services-section,.pricing-section,.portfolio-section,.blog-section,.testimonial-section,.faq-section,.contact-section{
    padding-block: 68px !important;
  }
  .about-section .about-logo-panel {
    padding: 14px !important;
  }
  .about-section .about-logo-frame {
    min-height: 220px !important;
    padding: 12px 12px 18px !important;
  }
  .about-section .about-logo {
    width: min(100%, 220px) !important;
  }
}

@media (max-width: 640px) {
  .container,
  .article-topbar-inner,
  .footer-container {
    width: calc(100% - 24px) !important;
    padding-inline: 0 !important;
  }
  .site-header .brand img {
    width: 40px !important;
    height: 40px !important;
  }
  .site-header .brand-text {
    font-size: .69rem !important;
  }
  .hero-section .hero-copy h1 {
    font-size: clamp(1.82rem, 9.2vw, 2.45rem) !important;
    line-height: 1.08 !important;
  }
  .section-heading h2,
  .services-heading h2,
  .about-heading h2,
  .pricing-header h2,
  .contact-heading h2,
  .faq-heading h2,
  .blog-section-intro h2 {
    font-size: clamp(1.55rem, 7.2vw, 2rem) !important;
  }
  .about-section,.services-section,.pricing-section,.portfolio-section,.blog-section,.testimonial-section,.faq-section,.contact-section{
    padding-block: 56px !important;
  }
  .about-info-card,.info-card,.team-card,.service-card,.pricing-card-reference,.portfolio-card,.blog-card,.testimonial-card,.faq-item,.contact-card,.contact-form-card,.contact-intro-card,.contact-location-card,.contact-cta-card,.pricing-comparison-card{
    border-radius: 18px !important;
  }
  .about-section .about-logo-panel {
    border-radius: 18px !important;
  }
  .about-section .about-logo-frame {
    min-height: 188px !important;
  }
  .about-section .about-logo {
    width: min(100%, 176px) !important;
  }
  .about-section .about-logo-social-links {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .about-section .about-logo-social-links a,
  .about-section .about-logo-social-link-static {
    width: 40px !important;
    height: 40px !important;
  }
}

@media (min-width: 1600px) {
  .container,
  .site-header .nav-shell,
  .article-topbar-inner,
  .footer-container {
    max-width: var(--kd-content) !important;
  }
}

/* Final component contrast pass: every label, icon and card remains readable. */
.service-group {
  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: var(--kd-card-radius) !important;
  background: #09263d !important;
  box-shadow: none !important;
}
.service-group-premium {
  border-color: rgba(247,211,109,.22) !important;
  background: #0b2d48 !important;
}
.service-group-title,
.service-group-head h3 { color: #fff !important; }
.service-group-head p { color: var(--kd-text-light-muted) !important; }
.service-group-kicker {
  color: var(--kd-gold-400) !important;
  background: rgba(247,211,109,.08) !important;
  border-color: rgba(247,211,109,.16) !important;
}
.service-card-icon {
  color: var(--kd-gold-400) !important;
  background: rgba(247,211,109,.08) !important;
  border: 1px solid rgba(247,211,109,.16) !important;
  box-shadow: none !important;
}

.pricing-card-reference .price,
.pricing-investment-label,
.pricing-copy,
.pricing-subsection-title,
.pricing-comparison-card,
.pricing-comparison-toggle,
.pricing-table,
.pricing-table th,
.pricing-table td,
.pricing-download-card,
.pricing-download-card strong,
.pricing-download-card span {
  font-family: "Poppins", system-ui, sans-serif !important;
}
.pricing-card-reference .price,
.pricing-card-reference h3,
.pricing-subsection-title h3 { color: var(--kd-text-dark) !important; }
.pricing-investment-label,
.pricing-copy { color: var(--kd-text-muted) !important; }
.pricing-card-icon {
  color: var(--kd-navy-800) !important;
  background: #f6edd2 !important;
  border: 1px solid rgba(190,139,14,.18) !important;
  box-shadow: none !important;
}
.pricing-card-reference.is-highlighted {
  background: #fffdf7 !important;
  border-color: rgba(190,139,14,.34) !important;
  box-shadow: var(--kd-shadow-card) !important;
}

.portfolio-content,
.portfolio-impact,
.tech-list,
.tech-list span,
.thumb-card {
  font-family: "Poppins", system-ui, sans-serif !important;
}
.portfolio-content h3 { color: #fff !important; }
.portfolio-content p,
.portfolio-impact { color: var(--kd-text-light-muted) !important; }
.tech-list span {
  color: #f3e5b4 !important;
  background: rgba(247,211,109,.07) !important;
  border-color: rgba(247,211,109,.14) !important;
}
.thumb-card {
  border-color: rgba(255,255,255,.12) !important;
  background: rgba(255,255,255,.05) !important;
}

.blog-kicker,
.blog-intro-copy,
.blog-card-body,
.blog-chip-row,
.blog-tag,
.blog-date,
.blog-readmore {
  font-family: "Poppins", system-ui, sans-serif !important;
}
.blog-card h3 { color: var(--kd-text-dark) !important; }
.blog-card p,
.blog-date { color: var(--kd-text-muted) !important; }
.blog-readmore { color: var(--kd-navy-800) !important; }
.blog-tag,
.blog-chip-row span {
  color: var(--kd-navy-800) !important;
  background: #f3f6f9 !important;
  border: 1px solid rgba(10,45,72,.10) !important;
}

.testimonial-meta,
.testimonial-company,
.testimonial-head,
.testimonial-card {
  font-family: "Poppins", system-ui, sans-serif !important;
}
.testimonial-card h3 { color: #fff !important; }
.testimonial-card p,
.testimonial-company,
.testimonial-meta { color: var(--kd-text-light-muted) !important; }

.faq-question,
.faq-answer,
.faq-trigger {
  font-family: "Poppins", system-ui, sans-serif !important;
}
.faq-question,
.faq-trigger { color: #fff !important; font-weight: 700 !important; }
.faq-answer { color: var(--kd-text-light-muted) !important; }
.faq-icon {
  color: var(--kd-gold-400) !important;
  background: rgba(247,211,109,.08) !important;
  border: 1px solid rgba(247,211,109,.14) !important;
}

.contact-social-card,
.contact-benefit,
.contact-list,
.contact-highlight,
.contact-panel-copy,
.contact-cta-copy,
.contact-map-header,
.contact-map-kicker,
.contact-map-link {
  font-family: "Poppins", system-ui, sans-serif !important;
}
.contact-social-card,
.contact-benefit {
  color: var(--kd-text-dark) !important;
  background: #fff !important;
  border: 1px solid var(--kd-border-light) !important;
  box-shadow: none !important;
}
.contact-social-card i,
.contact-benefit i,
.contact-panel-icon,
.contact-panel-icon-small { color: var(--kd-navy-800) !important; }
.contact-social-card p,
.contact-benefit p,
.contact-list,
.contact-panel-copy p { color: var(--kd-text-muted) !important; }

.footer-grid {
  width: min(var(--kd-content), calc(100% - 32px)) !important;
  max-width: var(--kd-content) !important;
  margin-inline: auto !important;
}
.footer-contact-item,
.footer-contact-item a,
.footer-links a,
.footer-bottom,
.footer-bottom p {
  color: var(--kd-text-light-muted) !important;
}
.footer-links a:hover,
.footer-links a:focus-visible,
.footer-contact-item a:hover,
.footer-contact-item a:focus-visible { color: var(--kd-gold-400) !important; }

/* Remove decorative duplication/noise that makes the UI feel generated rather than authored. */
.about-section::before,.about-section::after,.pricing-card-reference::before{
  content: none !important;
  display: none !important;
}

/* Consistent focus treatment for keyboard users. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(247,211,109,.55) !important;
  outline-offset: 3px !important;
}

/* ========================================================================
   KOTEKA DIGITAL — USER DIRECTIVE PASS 2026-10-07
   Scope only: navbar/home continuity, 100% zoom readability, bridge section,
   new hero media, About cleanup/team motion, visible service/pricing/portfolio/
   blog/contact states, continuous portfolio/blog rails, and supplied backgrounds.
   ======================================================================== */



/* Supplied imagery is now the only visual background system used by sections. */
body {
  background: linear-gradient(rgba(4,20,34,.78), rgba(4,20,34,.78)), var(--kd-bg-faq) center / cover fixed no-repeat !important;
}

.hero-section,
.about-section,
.services-section,
.pricing-section,
.portfolio-section,
.blog-section,
.testimonial-section,
.faq-section,
.contact-section,
.site-footer,
.route-page-intro,
.route-page-group,
.article-shell,
.privacy-page {
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: cover !important;
}

.hero-section {
  background-image: var(--kd-overlay-dark), var(--kd-bg-home) !important;
}
.about-section {
  background-image: var(--kd-overlay-dark), var(--kd-bg-about) !important;
}
.services-section {
  background-image: var(--kd-overlay-dark), var(--kd-bg-services) !important;
}
.pricing-section {
  background-image: var(--kd-overlay-light), var(--kd-bg-pricing) !important;
}
.portfolio-section {
  background-image: var(--kd-overlay-dark), var(--kd-bg-portfolio) !important;
}
.blog-section {
  background-image: var(--kd-overlay-light), var(--kd-bg-blog) !important;
}
.testimonial-section {
  background-image: var(--kd-overlay-dark), var(--kd-bg-testimonial) !important;
}
.faq-section {
  background-image: var(--kd-overlay-dark), var(--kd-bg-faq) !important;
}
.contact-section {
  background-image: var(--kd-overlay-light), var(--kd-bg-contact) !important;
}
.site-footer {
  background-image: linear-gradient(135deg, rgba(2,13,23,.96), rgba(4,31,52,.93)), var(--kd-bg-bridge) !important;
}

/* Route pages and static pages also use the supplied background collection. */
.route-page {
  background: var(--kd-navy-950) !important;
}
.route-page-intro,
.route-service-page .route-page-intro {
  background-image: var(--kd-overlay-dark), var(--kd-bg-contact) !important;
}
.route-page-group {
  background-image: var(--kd-overlay-light), var(--kd-bg-blog) !important;
}
.route-page-group:nth-of-type(even) {
  background-image: var(--kd-overlay-light), var(--kd-bg-pricing) !important;
}
.article-shell {
  max-width: none !important;
  background-image: var(--kd-overlay-light), var(--kd-bg-faq) !important;
  padding-bottom: clamp(48px, 7vw, 88px) !important;
}
.article-shell > * {
  width: min(var(--kd-content), calc(100% - 32px));
  margin-inline: auto;
}
.privacy-page,
body:has(.privacy-page) {
  background-image: var(--kd-overlay-light), var(--kd-bg-blog) !important;
}

/* 1) Navbar sits visually on top of Home instead of a white strip. */
.site-header {
  background: transparent !important;
  border: 0 !important;
}
.hero-section {
  margin-top: -90px !important;
  padding-top: 90px !important;
}
.site-header .nav-shell {
  background: rgba(3, 20, 34, .90) !important;
  border-color: rgba(247,211,109,.24) !important;
  -webkit-backdrop-filter: blur(14px) saturate(118%) !important;
  backdrop-filter: blur(14px) saturate(118%) !important;
}

/* 2) 100% zoom: no content is intentionally hidden or clipped on first paint. */
.hero-section,.about-section,.services-section,.pricing-section,.portfolio-section,.blog-section,.testimonial-section,.faq-section,.contact-section{
  min-height: auto !important;
}
.hero-section .hero-grid {
  min-height: auto !important;
  align-items: center !important;
  padding-top: clamp(36px, 4vw, 54px) !important;
  padding-bottom: clamp(52px, 6vw, 78px) !important;
}
.kd-reveal,
.kd-reveal.kd-in,
.services-section .service-card,
.pricing-section .pricing-card-reference,
.portfolio-section .portfolio-card,
.portfolio-section .thumb-card,
.blog-section .blog-card,
.contact-section .contact-card,
.contact-section .contact-social-card,
.contact-section .contact-form-card {
  opacity: 1 !important;
  visibility: visible !important;
}
/* Keep fallback-only reveal nodes stable. Do not suppress the transform
   controlled by Motion / Framer Motion inside real React sections. */
.kd-reveal,
.kd-reveal.kd-in {
  transform: none !important;
}

/* 5) About: Profil Bisnis removed in data; Visi & Misi become the clear focus. */
.about-section .about-card-grid {
  grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  gap: clamp(16px, 2vw, 24px) !important;
}
.about-section .about-info-card {
  min-height: 100% !important;
  padding: clamp(22px, 3vw, 30px) !important;
  background: rgba(6,34,57,.90) !important;
  border-color: rgba(255,255,255,.14) !important;
}
.about-section .about-card-icon {
  width: 58px !important;
  height: 58px !important;
  color: #071f33 !important;
  background: linear-gradient(145deg, #ffe99a, #edb933) !important;
  border: 1px solid rgba(255,238,168,.72) !important;
  font-size: 1.35rem !important;
  box-shadow: 0 12px 24px rgba(0,0,0,.20) !important;
}
.about-section .about-info-card h3 {
  color: #fff !important;
  font-size: 1.22rem !important;
}
.about-section .about-info-card p {
  color: #d8e5ef !important;
  line-height: 1.78 !important;
}

/* 6) Team avatars are circular and alive, while copy/cards stay stable. */
.about-section .team-avatar-wrap,
.about-section .team-avatar,
.about-section .team-avatar-ring {
  border-radius: 50% !important;
}
.about-section .team-avatar-wrap {
  animation: kd-team-float 5.4s ease-in-out infinite;
}
.about-section .team-avatar-ring-one {
  border: 1px solid rgba(247,211,109,.46) !important;
  animation: kd-team-ring 9s linear infinite;
}
.about-section .team-avatar-ring-two {
  border: 2px dashed rgba(82,166,255,.66) !important;
  animation: kd-team-ring-reverse 7s linear infinite;
}
@keyframes kd-team-float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes kd-team-ring { to { transform: rotate(360deg); } }
@keyframes kd-team-ring-reverse { to { transform: rotate(-360deg); } }

/* 7) Services are fully readable before and after hover. */
.services-section .service-group {
  background: rgba(4,28,48,.88) !important;
  border-color: rgba(255,255,255,.12) !important;
}
.services-section .service-card {
  background: rgba(7,42,69,.92) !important;
  border-color: rgba(255,255,255,.14) !important;
}
.services-section .service-card h3,
.services-section .service-card h4,
.services-section .service-group-title { color: #fff !important; }
.services-section .service-card p,
.services-section .service-card li,
.services-section .service-group-head p { color: #d5e2ec !important; }
.services-section .service-card-icon {
  color: #071f33 !important;
  background: linear-gradient(145deg, #ffe99a, #edb933) !important;
  border-color: rgba(255,238,168,.72) !important;
}
@media (hover:hover) and (pointer:fine) {
  .services-section .service-card:hover,
  .services-section .service-card:focus-within {
    color: #fff !important;
    background: rgba(10,52,84,.97) !important;
    border-color: rgba(247,211,109,.32) !important;
  }
  .services-section .service-card:hover h3,
  .services-section .service-card:hover h4,
  .services-section .service-card:hover p,
  .services-section .service-card:hover li { opacity: 1 !important; }
}

/* 9) Portfolio: visible featured content + endlessly moving project rail from right to left. */
.portfolio-section { overflow-x: clip !important; }
.portfolio-section .section-heading,
.portfolio-section .portfolio-card,
.portfolio-section .thumb-card { opacity: 1 !important; visibility: visible !important; }
.portfolio-section .portfolio-card {
  background: rgba(5,32,54,.93) !important;
  border-color: rgba(255,255,255,.14) !important;
}
.portfolio-section .portfolio-content h3,
.portfolio-section .portfolio-label { color: #fff !important; }
.portfolio-section .portfolio-content p,
.portfolio-section .portfolio-impact { color: #d5e2ec !important; }
.portfolio-section .portfolio-thumbs.kd-portfolio-loop {
  position: relative;
  left: 50%;
  display: flex !important;
  grid-template-columns: none !important;
  align-items: stretch !important;
  gap: 16px !important;
  width: max-content !important;
  max-width: none !important;
  margin-top: 28px !important;
  margin-left: -50vw !important;
  padding-inline: max(16px, calc((100vw - var(--kd-content)) / 2)) !important;
  will-change: transform;
  animation: kd-portfolio-right var(--kd-portfolio-duration, 38s) linear infinite !important;
}
.portfolio-section .portfolio-thumbs.kd-portfolio-loop .thumb-card {
  flex: 0 0 clamp(210px, 22vw, 300px) !important;
  width: clamp(210px, 22vw, 300px) !important;
  min-height: 178px !important;
  padding: 10px !important;
  color: #fff !important;
  background: rgba(4,28,48,.92) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  box-shadow: 0 16px 34px rgba(0,0,0,.18) !important;
}
.portfolio-section .portfolio-thumbs.kd-portfolio-loop .thumb-card img {
  border-radius: 12px !important;
}
.portfolio-section .portfolio-thumbs.kd-portfolio-loop .thumb-card span {
  color: #f4f8fc !important;
  margin-top: 8px !important;
}


/* 10) Articles: readable on first paint and continuous right-to-left premium rail. */
.blog-section { overflow-x: clip !important; }
.blog-section .blog-section-intro,
.blog-section .blog-card { opacity: 1 !important; visibility: visible !important; }
.blog-section .blog-card {
  color: #132a3e !important;
  background: rgba(255,255,255,.97) !important;
  border-color: rgba(8,45,74,.14) !important;
}
.blog-section .blog-card h3 { color: #102a42 !important; }
.blog-section .blog-card p,
.blog-section .blog-date { color: #586f82 !important; }
.blog-section .blog-carousel {
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  overflow: hidden !important;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}
.blog-section .blog-carousel-track.kd-blog-loop {
  display: flex !important;
  gap: 18px !important;
  width: max-content !important;
  max-width: none !important;
  padding-inline: 16px !important;
  transform: none !important;
  will-change: transform;
  animation: kd-blog-left var(--kd-blog-duration, 58s) linear infinite !important;
}
.blog-section .blog-carousel-track.kd-blog-loop:hover,
.blog-section .blog-carousel-track.kd-blog-loop:focus-within {
  animation-play-state: paused !important;
}
.blog-section .blog-carousel-track.kd-blog-loop .blog-card {
  flex: 0 0 clamp(285px, 30vw, 390px) !important;
  width: clamp(285px, 30vw, 390px) !important;
}
.blog-section .blog-carousel-footer { display: none !important; }
@keyframes kd-blog-left {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(calc(-50% - 9px),0,0); }
}

/* Full-section background treatment: no split/half legacy surfaces. */
.about-section > .container,
.services-section > .container,
.pricing-section > .container,
.portfolio-section > .container,
.blog-section > .container,
.testimonial-section > .container,
.faq-section > .container,
.contact-section > .container {
  position: relative;
  z-index: 1;
}

@media (max-width: 1180px) {
  .hero-section .hero-grid {
    grid-template-columns: minmax(0,1.03fr) minmax(320px,.97fr) !important;
    gap: 28px !important;
  }
}

@media (max-width: 900px) {
  .hero-section {
    margin-top: -64px !important;
    padding-top: 64px !important;
    background-image: var(--kd-overlay-dark), var(--kd-bg-home) !important;
  }
  .site-header .nav-shell {
    background: rgba(3,20,34,.96) !important;
  }
  .hero-section .hero-grid {
    grid-template-columns: 1fr !important;
    padding-top: 28px !important;
  }
  .hero-section .hero-visual { order: 2; }
  .hero-section .hero-card-main,
  .hero-section .hero-media-transparent { width: min(100%, 430px) !important; }
  
  
  .about-section .about-card-grid { grid-template-columns: 1fr !important; }
  .pricing-section .pricing-card-reference.is-highlighted {
    transform: none !important;
  }
  .portfolio-section .portfolio-thumbs.kd-portfolio-loop .thumb-card {
    flex-basis: 230px !important;
    width: 230px !important;
  }
  .blog-section .blog-carousel-track.kd-blog-loop .blog-card {
    flex-basis: min(82vw, 340px) !important;
    width: min(82vw, 340px) !important;
  }
}

@media (max-width: 640px) {
  .hero-section .hero-copy h1 { font-size: clamp(1.75rem, 8.8vw, 2.35rem) !important; }
  .hero-section .hero-copy > p { line-height: 1.62 !important; }
  
  
  
  .about-section .team-avatar-wrap { animation-duration: 6.2s; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-section .hero-card-main,
  .about-section .team-avatar-wrap,
  .about-section .team-avatar-ring-one,
  .about-section .team-avatar-ring-two,
  .portfolio-section .portfolio-thumbs.kd-portfolio-loop,
  .blog-section .blog-carousel-track.kd-blog-loop {
    animation: none !important;
    transform: none !important;
  }
  .portfolio-section .portfolio-thumbs.kd-portfolio-loop,
  .blog-section .blog-carousel-track.kd-blog-loop {
    overflow-x: auto !important;
    max-width: 100vw !important;
  }
}

/* Supplied background treatment for the standalone Privacy Policy page. */
.page-shell {
  min-height: 100vh;
  background-image: var(--kd-overlay-light), var(--kd-bg-blog) !important;
  background-position: center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}
.page-shell .hero,
.page-shell .content-grid,
.page-shell .footer { background: transparent !important; }
.page-shell .article,
.page-shell .side-card {
  background: rgba(255,255,255,.95) !important;
  border-color: rgba(8,45,74,.14) !important;
}


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .hero-section *,
  .portfolio-section *,
  .blog-section * {
    scroll-behavior: auto !important;
  }
}


/* ========================================================================
   KOTEKA DIGITAL — MANUAL AUDIT FINAL PASS 2026-10-07
   Scope limited to: Home, Pricing, Portfolio, Blog, FAQ, Contact,
   performance safeguards, and mobile consistency.
   ======================================================================== */

/* HOME — compact 100% zoom composition, explicit three-line title and
   transparent supplied illustration with no card/background. */
.hero-section .hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr) !important;
  align-items: center !important;
  gap: clamp(24px, 4vw, 54px) !important;
  padding-top: clamp(22px, 3vw, 34px) !important;
  padding-bottom: clamp(34px, 4vw, 48px) !important;
}
.hero-section .hero-copy {
  gap: 11px !important;
  max-width: 680px !important;
}
.hero-section .hero-copy .eyebrow {
  padding: 6px 11px !important;
  font-size: .68rem !important;
}
.hero-section .hero-copy h1 {
  max-width: 650px !important;
  font-size: clamp(2.05rem, 3.05vw, 2.9rem) !important;
  line-height: 1.085 !important;
  letter-spacing: -.042em !important;
  text-wrap: pretty !important;
}
.hero-section .hero-copy h1 br {
  display: block;
}
.hero-section .hero-copy > p {
  max-width: 640px !important;
  margin: 0 !important;
  font-size: clamp(.79rem, .88vw, .9rem) !important;
  line-height: 1.58 !important;
}
.hero-section .hero-note,
.hero-section .hero-proof {
  font-size: clamp(.72rem, .8vw, .82rem) !important;
  line-height: 1.5 !important;
  opacity: .82 !important;
}
.hero-section .hero-actions {
  gap: 9px !important;
  margin-top: 9px !important;
}
.hero-section .hero-actions .button {
  min-width: 0 !important;
  min-height: 44px !important;
  padding: 10px 16px !important;
  border-radius: 13px !important;
  font-size: .79rem !important;
}
.hero-section .hero-social {
  margin-top: 2px !important;
}
.hero-section .hero-visual {
  min-height: 0 !important;
  padding: 0 !important;
}
.hero-section .hero-card-main,
.hero-section .hero-media-transparent {
  width: min(100%, 500px) !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  position: relative !important;
  aspect-ratio: 1 / 1 !important;
}
.hero-section .hero-carousel-image {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-height: min(58vh, 520px) !important;
  margin: auto !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,.28)) !important;
  opacity: 0 !important;
  transform: translate3d(18px,0,0) scale(.985) !important;
  transition: opacity .72s cubic-bezier(.22,1,.36,1), transform .82s cubic-bezier(.22,1,.36,1) !important;
  pointer-events: none !important;
}
.hero-section .hero-carousel-image.is-active {
  opacity: 1 !important;
  transform: translate3d(0,0,0) scale(1) !important;
}

/* PRICING — readable heading/actions/table and Standard package dominance. */
.pricing-section .pricing-header {
  text-align: center !important;
  justify-items: center !important;
  margin-inline: auto !important;
}
.pricing-section .pricing-badge {
  color: #071f33 !important;
  background: linear-gradient(145deg, #ffe894, #efbb38) !important;
  border: 1px solid #d8a321 !important;
  box-shadow: 0 8px 20px rgba(123,85,7,.18) !important;
  font-size: .78rem !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
}
.pricing-section .pricing-header h2 {
  color: #0a2b45 !important;
}
.pricing-section .pricing-header p {
  color: #526a7d !important;
}
.pricing-section .pricing-card-reference.featured,
.pricing-section .pricing-card-reference.is-highlighted {
  z-index: 3 !important;
  border: 2px solid #d8a321 !important;
  background: linear-gradient(160deg, #fff9dc 0%, #fff 42%, #eef7ff 100%) !important;
  box-shadow: 0 28px 62px rgba(56,41,8,.23), 0 0 0 5px rgba(247,211,109,.14) !important;
  transform: translateY(-12px) scale(1.035) !important;
}
.pricing-section .pricing-card-reference.featured h3,
.pricing-section .pricing-card-reference.featured .price,
.pricing-section .pricing-card-reference.featured strong {
  color: #082640 !important;
}
.pricing-section .pricing-card-reference.featured .pricing-card-icon {
  color: #082640 !important;
  background: linear-gradient(145deg, #ffe894, #efbb38) !important;
  border-color: #d8a321 !important;
  box-shadow: 0 12px 28px rgba(123,85,7,.2) !important;
}
.pricing-section .pricing-comparison-card {
  background: rgba(255,255,255,.985) !important;
  border: 1px solid rgba(8,45,74,.18) !important;
  box-shadow: 0 22px 48px rgba(7,35,60,.12) !important;
}
.pricing-section .pricing-subsection-title h3,
.pricing-section .pricing-subsection-title p {
  color: #102f49 !important;
  opacity: 1 !important;
}
.pricing-section .pricing-download-trigger,
.pricing-section .pricing-comparison-toggle {
  min-height: 44px !important;
  color: #fff !important;
  background: linear-gradient(145deg, #0c456e, #082e4a) !important;
  border: 1px solid rgba(8,45,74,.25) !important;
  border-radius: 12px !important;
  font-weight: 800 !important;
  opacity: 1 !important;
  box-shadow: 0 10px 22px rgba(7,35,60,.15) !important;
}
.pricing-section .pricing-download-trigger i,
.pricing-section .pricing-comparison-toggle i {
  color: #ffe487 !important;
}
.pricing-section .pricing-download-trigger:hover,
.pricing-section .pricing-download-trigger:focus-visible,
.pricing-section .pricing-comparison-toggle:hover,
.pricing-section .pricing-comparison-toggle:focus-visible {
  color: #071f33 !important;
  background: linear-gradient(145deg, #ffe894, #efbb38) !important;
  border-color: #d8a321 !important;
}
.pricing-section .pricing-download-trigger:hover i,
.pricing-section .pricing-download-trigger:focus-visible i,
.pricing-section .pricing-comparison-toggle:hover i,
.pricing-section .pricing-comparison-toggle:focus-visible i {
  color: #071f33 !important;
}
.pricing-section .pricing-table-scroll {
  border: 1px solid rgba(8,45,74,.15) !important;
  border-radius: 16px !important;
  overflow: auto !important;
}
.pricing-section .pricing-table {
  min-width: 720px;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}
.pricing-section .pricing-table thead th {
  color: #fff !important;
  background: #0b3a5b !important;
}
.pricing-section .pricing-table thead th.is-highlighted {
  color: #071f33 !important;
  background: #f7d36d !important;
}
.pricing-section .pricing-table tbody th,
.pricing-section .pricing-table tbody td {
  color: #17344d !important;
  background: rgba(255,255,255,.98) !important;
  border-bottom: 1px solid rgba(8,45,74,.09) !important;
}
.pricing-section .pricing-table tbody td.is-highlighted {
  background: #fff9df !important;
  font-weight: 800 !important;
}
.pricing-section .pricing-table tbody tr:hover th,
.pricing-section .pricing-table tbody tr:hover td {
  color: #071f33 !important;
  background: #fff3bf !important;
}

/* PORTFOLIO — the small-card rail enters from right and loops to left. */
.portfolio-section .portfolio-thumbs.kd-portfolio-loop {
  animation-name: kd-portfolio-left !important;
  animation-timing-function: linear !important;
  animation-iteration-count: infinite !important;
}

.portfolio-section .portfolio-thumbs .thumb-card {
  opacity: 1 !important;
  visibility: visible !important;
}
.portfolio-section .portfolio-thumbs .thumb-card span {
  color: #f7fbff !important;
  opacity: 1 !important;
}

/* BLOG / ARTICLE — every textual element is readable on initial paint. */
.blog-section .blog-section-intro,
.blog-section .blog-section-intro h2,
.blog-section .blog-section-intro p,
.blog-section .blog-section-intro span,
.blog-section .blog-card,
.blog-section .blog-card h3,
.blog-section .blog-card p,
.blog-section .blog-card span,
.blog-section .blog-card a {
  opacity: 1 !important;
  visibility: visible !important;
}
.blog-section .blog-section-intro h2 {
  color: #102f49 !important;
}
.blog-section .blog-section-intro p {
  color: #536b7d !important;
}
.blog-section .blog-kicker {
  color: #082640 !important;
  background: #f7d36d !important;
  border-color: #d8a321 !important;
}
.blog-section .blog-card-frame {
  background: rgba(255,255,255,.985) !important;
  border-color: rgba(8,45,74,.14) !important;
}
.blog-section .blog-card h3 { color: #102f49 !important; }
.blog-section .blog-card p,
.blog-section .blog-date { color: #536b7d !important; }
.blog-section .blog-readmore {
  color: #0b4f79 !important;
  font-weight: 800 !important;
}
.blog-section .blog-tag {
  opacity: 1 !important;
}

/* FAQ — compact closed cards, normal expansion when opened. */
.faq-section .faq-list {
  gap: 10px !important;
}
.faq-section .faq-item {
  border-radius: 15px !important;
  min-height: 0 !important;
  background: rgba(4,30,51,.88) !important;
}
.faq-section .faq-trigger {
  min-height: 52px !important;
  padding: 12px 15px !important;
  gap: 12px !important;
}
.faq-section .faq-question {
  color: #f7fbff !important;
  font-size: clamp(.86rem, 1vw, .96rem) !important;
  line-height: 1.42 !important;
}
.faq-section .faq-icon {
  flex: 0 0 32px !important;
  width: 32px !important;
  height: 32px !important;
}
.faq-section .faq-item:not(.open) .faq-answer-wrap {
  max-height: 0 !important;
}
.faq-section .faq-answer {
  padding: 0 15px 14px !important;
}
.faq-section .faq-answer p {
  color: #d9e6f0 !important;
  font-size: .88rem !important;
  line-height: 1.62 !important;
}

/* CONTACT — explicit text/icon/card contrast. */
.contact-section .contact-heading .eyebrow {
  color: #102f49 !important;
  background: #e4eef7 !important;
  border-color: #b7ccdd !important;
  font-size: .875rem !important;
  font-weight: 800 !important;
  opacity: 1 !important;
}
.contact-section .contact-heading h2 {
  color: #102f49 !important;
}
.contact-section .contact-heading p {
  color: #314b61 !important;
}
.contact-section .contact-card,
.contact-section .contact-form-card,
.contact-section .contact-intro-card,
.contact-section .contact-location-card {
  color: #142f47 !important;
  background: rgba(255,255,255,.985) !important;
  border: 1px solid rgba(8,45,74,.16) !important;
  box-shadow: 0 18px 40px rgba(7,35,60,.11) !important;
}
.contact-section .contact-panel-head h3,
.contact-section .contact-card h3,
.contact-section .contact-social-card strong,
.contact-section .contact-list strong,
.contact-section .contact-form label {
  color: #102f49 !important;
  opacity: 1 !important;
}
.contact-section .contact-panel-copy,
.contact-section .contact-lead,
.contact-section .contact-benefit span,
.contact-section .contact-social-card span,
.contact-section .contact-list span,
.contact-section .contact-form-help,
.contact-section .contact-consent span {
  color: #536b7d !important;
  opacity: 1 !important;
}
.contact-section .contact-panel-icon,
.contact-section .contact-panel-icon-small,
.contact-section .contact-benefit > i,
.contact-section .contact-social-card > i {
  color: #082640 !important;
  background: linear-gradient(145deg, #ffe894, #efbb38) !important;
  border: 1px solid #d8a321 !important;
}
.contact-section .contact-social-card,
.contact-section .contact-benefit {
  background: #f7fbff !important;
  border: 1px solid rgba(8,45,74,.11) !important;
}
.contact-section .contact-field input,
.contact-section .contact-field select,
.contact-section .contact-field textarea {
  color: #102f49 !important;
  background: #fff !important;
  border: 1px solid #c8d7e4 !important;
}
.contact-section .contact-field input::placeholder,
.contact-section .contact-field textarea::placeholder {
  color: #7a8fa1 !important;
  opacity: 1 !important;
}
.contact-section .contact-field input:focus,
.contact-section .contact-field select:focus,
.contact-section .contact-field textarea:focus {
  border-color: #c89418 !important;
  outline: 3px solid rgba(247,211,109,.24) !important;
}
.contact-section .contact-map-header,
.contact-section .contact-map-link,
.contact-section .contact-map-kicker {
  opacity: 1 !important;
}

/* Performance: avoid expensive paint work on below-fold sections where supported. */
@supports (content-visibility: auto) {
  .services-section,
  .pricing-section,
  .portfolio-section,
  .blog-section,
  .testimonial-section,
  .faq-section,
  .contact-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 760px;
  }
}

/* MOBILE — compact, consistent and no navbar/sidebar/bottom-nav collision. */
@media (max-width: 900px) {
  .hero-section .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding-top: 18px !important;
    padding-bottom: 34px !important;
  }
  .hero-section .hero-copy {
    gap: 9px !important;
    max-width: 100% !important;
  }
  .hero-section .hero-copy h1 {
    max-width: 100% !important;
    font-size: clamp(1.8rem, 7.7vw, 2.35rem) !important;
    line-height: 1.08 !important;
  }
  .hero-section .hero-copy > p {
    font-size: .82rem !important;
    line-height: 1.55 !important;
  }
  .hero-section .hero-note,
  .hero-section .hero-proof {
    font-size: .74rem !important;
  }
  .hero-section .hero-actions {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 8px !important;
  }
  .hero-section .hero-actions .button {
    min-height: 42px !important;
    padding: 9px 10px !important;
    font-size: .72rem !important;
  }
  .hero-section .hero-actions .button:nth-child(3) {
    grid-column: 1 / -1 !important;
  }
  .hero-section .hero-card-main,
  .hero-section .hero-media-transparent {
    width: min(86vw, 390px) !important;
  }
  .hero-section .hero-carousel-image {
    max-height: 390px !important;
  }

  .pricing-section .pricing-card-reference.featured,
  .pricing-section .pricing-card-reference.is-highlighted {
    transform: none !important;
    border-width: 2px !important;
    box-shadow: 0 18px 42px rgba(56,41,8,.18), 0 0 0 3px rgba(247,211,109,.12) !important;
  }

  .nav-menu-mobile {
    top: max(8px, env(safe-area-inset-top)) !important;
    right: 8px !important;
    bottom: calc(70px + env(safe-area-inset-bottom)) !important;
    width: min(90vw, 350px) !important;
    padding: 14px 11px 18px !important;
    border-radius: 18px !important;
    z-index: 1500 !important;
  }
  .nav-overlay-mobile {
    z-index: 1490 !important;
  }
  .mobile-menu-header {
    margin-bottom: 2px !important;
    padding: 2px 4px 5px !important;
  }
  .mobile-close {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
  }
  .mobile-menu-list {
    gap: 4px !important;
  }
  .nav-menu-mobile .nav-link,
  .nav-menu-mobile .nav-button {
    min-height: 42px !important;
    padding: 8px 10px !important;
    border-radius: 10px !important;
  }

  .mobile-bottom-nav {
    z-index: 1400 !important;
    padding: 0 6px calc(6px + env(safe-area-inset-bottom)) !important;
  }
  .mobile-bottom-nav-shell {
    gap: 3px !important;
    padding: 5px !important;
    border-radius: 16px !important;
  }
  .mobile-bottom-nav-item {
    min-height: 50px !important;
    padding: 5px 1px 4px !important;
    border-radius: 11px !important;
    gap: 3px !important;
  }
  .mobile-bottom-nav-icon {
    width: 25px !important;
    height: 25px !important;
    border-radius: 8px !important;
    font-size: .82rem !important;
  }
  .mobile-bottom-nav-text {
    font-size: .56rem !important;
    line-height: 1.05 !important;
  }

  .pricing-section,
  .portfolio-section,
  .blog-section,
  .faq-section,
  .contact-section {
    padding-block: 58px !important;
  }
  .pricing-card-reference,
  .portfolio-card,
  .thumb-card,
  .blog-card,
  .faq-item,
  .contact-card,
  .contact-form-card {
    border-radius: 16px !important;
  }
}

@media (max-width: 640px) {
  .hero-section .hero-copy h1 {
    font-size: clamp(1.72rem, 8.2vw, 2.15rem) !important;
  }
  .hero-section .hero-copy > p {
    font-size: .79rem !important;
  }
  .hero-section .hero-card-main,
  .hero-section .hero-media-transparent {
    width: min(88vw, 340px) !important;
  }
  .faq-section .faq-trigger {
    min-height: 48px !important;
    padding: 10px 12px !important;
  }
  .contact-section .contact-main-grid,
  .contact-section .contact-form-grid {
    gap: 12px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-section .hero-carousel-image {
    transition: none !important;
    transform: none !important;
  }
}

/* Extra low-power safeguards requested by the manual audit. */
body { background-attachment: scroll !important; }

@media (max-width: 900px), (hover: none), (pointer: coarse) {
  .pricing-card-reference,
  .portfolio-card,
  .thumb-card,
  .blog-card,
  .faq-item,
  .contact-card,
  .contact-form-card,
  .contact-social-card,
  .mobile-bottom-nav-shell,
  .nav-menu-mobile {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
  .portfolio-thumbs,
  .blog-carousel-track {
    will-change: auto !important;
  }
}

/* Manual audit 2026-10-09: Home, portfolio, articles, FAQ, contact and mobile. */
.hero-section .hero-card-main,
.hero-section .hero-card-main:hover,
.hero-section .hero-card-main:focus-within {
  width: 100% !important;
  max-width: 620px !important;
  margin-inline: auto !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  animation: none !important;
  aspect-ratio: 1 !important;
}
.hero-section .hero-card-main::before,
.hero-section .hero-card-main::after {
  content: none !important;
}
.hero-section .hero-card-main .hero-carousel-image {
  height: 100% !important;
  max-height: none !important;
  animation: none !important;
  filter: drop-shadow(0 16px 24px rgba(3,23,40,.16)) !important;
}
.hero-section .hero-grid {
  grid-template-columns: minmax(0,1fr) minmax(0,1.06fr) !important;
  gap: clamp(24px, 4vw, 48px) !important;
}
.hero-section .hero-visual {
  width: 100% !important;
  min-width: 0 !important;
  justify-self: stretch !important;
}
.hero-section .hero-visual::before,
.hero-section .hero-visual::after { content: none !important; }

/* Two identical groups make the seam exact; cards never wrap to another row. */
.portfolio-section .portfolio-thumb-viewport {
  width: 100%;
  min-width: 0;
  margin-top: 22px;
  overflow: hidden;
  border-radius: 16px;
}
.portfolio-section .portfolio-thumbs.kd-portfolio-loop {
  position: static !important;
  left: auto !important;
  display: flex !important;
  align-items: flex-start !important;
  width: max-content !important;
  max-width: none !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  animation: kd-portfolio-seamless var(--kd-portfolio-duration, 36s) linear infinite !important;
  animation-play-state: running !important;
  transform: translate3d(0,0,0);
}
.portfolio-section .portfolio-thumb-group {
  display: flex;
  flex: 0 0 auto;
  gap: 14px;
  padding: 2px 14px 4px 0;
}
.portfolio-section .portfolio-thumbs.kd-portfolio-loop .thumb-card {
  flex: 0 0 220px !important;
  width: 220px !important;
  height: auto !important;
  min-height: 0 !important;
  align-self: flex-start !important;
  display: grid !important;
  gap: 8px !important;
  padding: 8px !important;
  border-radius: 14px !important;
  background: #174466 !important;
  box-shadow: none !important;
  transform: none !important;
}
.portfolio-section .portfolio-thumbs.kd-portfolio-loop .thumb-card img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
  border-radius: 8px !important;
}
.portfolio-section .portfolio-thumbs.kd-portfolio-loop .thumb-card span {
  margin: 0 !important;
  font-size: .8rem !important;
  line-height: 1.4 !important;
  min-height: 2.8em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.portfolio-section .portfolio-thumbs.kd-portfolio-loop .thumb-card.active {
  border-color: #f7d36d !important;
  background: #1e5276 !important;
}
@keyframes kd-portfolio-seamless {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(-50%,0,0); }
}

/* Article arrows operate the same slider as touch and keyboard navigation. */
.blog-section .blog-showcase {
  background: rgba(255,255,255,.75) !important;
  border: 1px solid #d7e2ec !important;
  box-shadow: 0 14px 36px rgba(15,46,69,.08) !important;
  padding: 24px !important;
}
.blog-section .blog-showcase-top {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-bottom: 18px !important;
}
.blog-section .blog-showcase-link { color: #164d75 !important; font-size: .88rem !important; }
.blog-section .blog-carousel-actions { display: flex !important; align-items: center; gap: 8px !important; }
.blog-section .blog-swipe-hint,
.blog-section .blog-slide-count { color: #536b7d !important; font-size: .8rem; }
.blog-section .blog-arrow-button {
  display: inline-grid !important;
  place-items: center;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  color: #133d5d !important;
  background: #fff !important;
  border: 1px solid #c9d8e5 !important;
  border-radius: 50% !important;
  box-shadow: 0 4px 12px rgba(15,46,69,.06) !important;
}
.blog-section .blog-arrow-button:hover { color: #fff !important; background: #164d75 !important; }
.blog-section .blog-arrow-button:focus-visible { outline: 3px solid #d8a321; outline-offset: 3px; }
.blog-section .blog-carousel {
  width: 100% !important;
  margin: 0 !important;
  overflow: hidden !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  touch-action: pan-y;
}
.blog-section .blog-carousel-track {
  display: flex !important;
  width: 100% !important;
  max-width: 100% !important;
  gap: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  animation: none !important;
  transition: transform .38s var(--kd-ease) !important;
  scroll-snap-type: none !important;
}
.blog-section .blog-carousel-track .blog-card {
  flex: 0 0 calc(100% / 3) !important;
  width: calc(100% / 3) !important;
  min-width: 0 !important;
  padding: 0 7px !important;
  transform: none !important;
}
.blog-section .blog-carousel-footer {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px !important;
}
.blog-section .blog-card-frame { height: 100%; box-shadow: 0 8px 20px rgba(15,46,69,.06) !important; }
.blog-section .blog-intro-copy span { color: #164d75 !important; }
.blog-section .blog-tag-primary { color: #735100 !important; background: #fff2c8 !important; }
.blog-section .blog-tag-soft { color: #176141 !important; background: #e5f4eb !important; }
.blog-section .blog-tag-muted { color: #456078 !important; background: #edf3f8 !important; }

/* Collapsed FAQ items occupy only their question; open answers grow naturally. */
.faq-section .faq-list {
  grid-template-columns: 1fr !important;
  max-width: 880px;
  margin-inline: auto;
  align-items: start !important;
  gap: 10px !important;
}
.faq-section .faq-item,
.faq-section .faq-item:hover,
.faq-section .faq-item:focus-within {
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  transform: none !important;
  background: rgba(25,66,96,.94) !important;
  box-shadow: none !important;
}
.faq-section .faq-trigger { width: 100%; padding: 14px 18px !important; min-height: 56px !important; text-align: left; }
.faq-section .faq-question { min-height: 0 !important; font-size: .95rem !important; line-height: 1.5 !important; }
.faq-section .faq-icon { width: 28px !important; height: 28px !important; flex-basis: 28px !important; }
.faq-section .faq-item:not(.open) .faq-answer-wrap { display: none !important; }
.faq-section .faq-item.open .faq-answer-wrap { max-height: none !important; }
.faq-section .faq-answer { padding: 12px 18px 18px !important; }
.faq-section .faq-answer p { padding: 0 !important; font-size: .9rem !important; line-height: 1.75 !important; }

/* Contact: clear channels and location alongside a readable consultation form. */
.contact-section {
  background-image: linear-gradient(135deg, #f4f8fc, #e9f2f9) !important;
  color: #14314a !important;
}
.contact-section .contact-heading { max-width: 760px !important; margin-bottom: 36px !important; }
.contact-section .contact-heading h2 { text-wrap: balance; }
.contact-section .contact-main-grid {
  display: grid !important;
  grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr) !important;
  align-items: start !important;
  gap: 28px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.contact-section .contact-left-column { display: grid; gap: 20px; min-width: 0; padding: 0 !important; }
.contact-section .contact-card {
  margin: 0 !important;
  padding: 28px !important;
  border-radius: 22px !important;
  border: 1px solid #d6e2ec !important;
  background: #fff !important;
  box-shadow: 0 12px 32px rgba(13,50,78,.06) !important;
  transform: none !important;
}
.contact-section .contact-intro-card { background: #edf5fb !important; }
.contact-section .contact-small-label { color: #245e86; font-size: .7rem; letter-spacing: .12em; font-weight: 700; }
.contact-section .contact-intro-card h3 { margin: 12px 0 !important; font-size: 1.45rem !important; line-height: 1.3; }
.contact-section .contact-lead { display: block !important; margin: 0 !important; font-size: .9rem !important; line-height: 1.75 !important; }
.contact-section .contact-social-grid { display: grid !important; grid-template-columns: 1fr !important; gap: 10px !important; margin: 24px 0 20px !important; }
.contact-section .contact-social-card {
  display: grid !important;
  grid-template-columns: 40px minmax(0,1fr) 16px;
  align-items: center;
  gap: 12px !important;
  padding: 14px !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: none !important;
}
.contact-section .contact-social-card > i:first-child {
  display: grid; place-items: center; width: 40px !important; height: 40px !important;
  border: 0 !important; border-radius: 12px !important; color: #1c5e88 !important; background: #e9f3fb !important; font-size: 1.2rem;
}
.contact-section .contact-social-card > i:last-child { width: auto !important; height: auto !important; background: none !important; border: 0 !important; color: #52728b !important; font-size: .8rem; }
.contact-section .contact-social-card div { display: grid; gap: 4px; min-width: 0; }
.contact-section .contact-social-card span { overflow-wrap: anywhere; font-size: .85rem !important; }
.contact-section .contact-social-card:hover { border-color: #4380ac !important; transform: none !important; }
.contact-section .contact-benefits { display: grid; gap: 10px; margin: 0 !important; }
.contact-section .contact-benefit { display: flex; align-items: baseline; gap: 10px; min-height: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; }
.contact-section .contact-benefit > i { flex: 0 0 14px !important; width: 14px !important; height: auto !important; padding: 0 !important; background: none !important; border: 0 !important; color: #247359 !important; font-size: .8rem; box-shadow: none !important; }
.contact-section .contact-benefit span { font-size: .84rem !important; }
.contact-section .contact-location-card { display: grid !important; grid-template-columns: 1fr !important; gap: 18px !important; }
.contact-section .contact-panel-head { gap: 12px !important; align-items: center; margin-bottom: 18px !important; }
.contact-section .contact-panel-head h3 { margin: 0 0 4px !important; font-size: 1.1rem !important; }
.contact-section .contact-panel-copy { font-size: .85rem !important; line-height: 1.6 !important; }
.contact-section .contact-panel-icon { width: 40px !important; height: 40px !important; flex: 0 0 40px; font-size: 1rem !important; border: 0 !important; color: #245e86 !important; background: #e9f3fb !important; border-radius: 12px !important; box-shadow: none !important; }
.contact-section .contact-hours { display: flex; gap: 8px; align-items: baseline; color: #536b7d; font-size: .8rem; margin: 0; }
.contact-section .contact-map-panel { padding: 0 !important; background: #edf4f9 !important; border: 1px solid #d6e2ec !important; border-radius: 14px !important; box-shadow: none !important; overflow: hidden; }
.contact-section .map-wrap { height: 180px !important; min-height: 0 !important; border-radius: 0 !important; }
.contact-section .map-wrap iframe { width: 100%; height: 100%; border: 0; filter: none !important; }
.contact-section .contact-map-link { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 14px !important; font-size: .8rem !important; color: #245e86 !important; background: #fff !important; border: 0 !important; border-radius: 0 !important; }
.contact-section .contact-form { display: grid !important; gap: 18px !important; margin: 0 !important; }
.contact-section .contact-form-help { margin: 0 !important; font-size: .8rem !important; line-height: 1.65 !important; padding: 12px 14px !important; background: #f3f7fb; border-radius: 10px; }
.contact-section .contact-form-grid { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 16px !important; }
.contact-section .contact-field { min-width: 0; display: grid !important; gap: 7px !important; }
.contact-section .contact-field label { font-size: .83rem !important; font-weight: 600 !important; line-height: 1.4; }
.contact-section .contact-field input,
.contact-section .contact-field select,
.contact-section .contact-field textarea {
  width: 100% !important;
  min-width: 0;
  min-height: 46px !important;
  padding: 11px 12px !important;
  border-radius: 10px !important;
  font: inherit !important;
  font-size: .9rem !important;
  line-height: 1.5 !important;
  box-shadow: none !important;
}
.contact-section .contact-field textarea { resize: vertical; min-height: 120px !important; }
.contact-section .contact-field input::placeholder,
.contact-section .contact-field textarea::placeholder { color: #677d90 !important; }
.contact-section .contact-field [aria-invalid="true"] { border-color: #bb303a !important; }
.contact-section .contact-field small,
.contact-section .contact-consent-error,
.contact-section .contact-form [role="alert"] { color: #a62332 !important; font-size: .8rem !important; }
.contact-section .contact-form [role="status"] { color: #176141 !important; font-size: .85rem !important; }
.contact-section .contact-consent { display: flex !important; align-items: flex-start !important; gap: 10px !important; margin: 0 !important; font-size: .8rem !important; line-height: 1.6 !important; }
.contact-section .contact-consent input { flex: 0 0 18px; width: 18px !important; height: 18px !important; min-height: 0 !important; padding: 0 !important; margin: 3px 0 0 !important; accent-color: #245e86; }
.contact-section .form-submit { width: 100%; min-height: 48px !important; padding: 12px 18px !important; color: #fff !important; background: #164d75 !important; border: 1px solid #164d75 !important; border-radius: 12px !important; font-size: .9rem !important; box-shadow: none !important; }
.contact-section .form-submit:hover { background: #0e3b5d !important; }

@media (max-width: 1024px) {
  .blog-section .blog-carousel-track .blog-card { flex-basis: 50% !important; width: 50% !important; }
}
@media (max-width: 900px) {
  .hero-section .hero-grid { grid-template-columns: 1fr !important; gap: 22px !important; }
  .hero-section .hero-card-main { width: min(100%,460px) !important; }
  .contact-section .contact-main-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
  .contact-section .contact-left-column { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
  .contact-section .contact-card { padding: 22px !important; }
  .mobile-bottom-nav-text { font-size: .67rem !important; line-height: 1.2 !important; }
}
@media (max-width: 640px) {
  .hero-section .hero-grid { padding-top: 24px !important; padding-bottom: 38px !important; }
  .hero-section .hero-card-main { width: min(100%,400px) !important; }
  .hero-section .hero-copy h1 { font-size: clamp(1.8rem,7.8vw,2.2rem) !important; line-height: 1.17 !important; }
  .hero-section .hero-copy > p { font-size: .9rem !important; line-height: 1.7 !important; }
  .hero-section .hero-note,
  .hero-section .hero-proof { font-size: .8rem !important; line-height: 1.6 !important; opacity: 1 !important; }
  .hero-section .hero-actions .button { min-height: 44px !important; font-size: .8rem !important; padding: 11px 10px !important; }
  :is(.about-section,.services-section,.pricing-section,.portfolio-section,.blog-section,.testimonial-section,.faq-section,.contact-section) { padding-block: 48px !important; scroll-margin-top: 82px; }
  main section .section-heading h2,
  main section .blog-section-intro h2,
  main section .pricing-header h2 { font-size: clamp(1.45rem,6vw,1.8rem) !important; line-height: 1.3 !important; letter-spacing: -.025em !important; }
  main section .section-heading p,
  main section .blog-intro-copy,
  main section .pricing-header p { font-size: .88rem !important; line-height: 1.7 !important; }
  .portfolio-section .portfolio-showcase { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
  .portfolio-section .portfolio-showcase .portfolio-card { grid-row: 1 !important; grid-column: 1 / -1 !important; }
  .portfolio-section .portfolio-showcase > .slider-control { grid-row: 2 !important; width: 44px !important; height: 44px !important; border-radius: 50% !important; }
  .portfolio-section .portfolio-showcase > .slider-control:first-child { grid-column: 1 !important; justify-self: end; }
  .portfolio-section .portfolio-showcase > .slider-control:last-child { grid-column: 2 !important; justify-self: start; }
  .portfolio-section .portfolio-content { padding: 20px !important; }
  .portfolio-section .portfolio-content h3 { font-size: 1.2rem !important; line-height: 1.4 !important; }
  .portfolio-section .portfolio-content p { font-size: .88rem !important; line-height: 1.65 !important; }
  .portfolio-section .portfolio-thumb-viewport { margin-top: 16px; }
  .portfolio-section .portfolio-thumbs.kd-portfolio-loop .thumb-card { width: 170px !important; flex-basis: 170px !important; padding: 7px !important; }
  .portfolio-section .portfolio-thumb-group { gap: 10px; padding-right: 10px; }
  .portfolio-section .portfolio-thumbs.kd-portfolio-loop .thumb-card span { font-size: .76rem !important; }
  .blog-section .blog-showcase { padding: 16px 10px !important; border-radius: 18px !important; }
  .blog-section .blog-showcase-top { padding-inline: 6px; gap: 6px !important; }
  .blog-section .blog-swipe-hint { display: none; }
  .blog-section .blog-carousel-track .blog-card { flex-basis: 100% !important; width: 100% !important; padding: 0 4px !important; }
  .blog-section .blog-card-body { padding: 16px !important; min-height: 0 !important; }
  .blog-section .blog-card h3 { font-size: 1.05rem !important; line-height: 1.45 !important; }
  .blog-section .blog-card p { font-size: .88rem !important; line-height: 1.7 !important; }
  .blog-section .blog-card-media img { min-height: 0 !important; height: auto !important; aspect-ratio: 16/10 !important; object-fit: cover; }
  .faq-section .faq-trigger { padding: 12px 14px !important; min-height: 52px !important; }
  .faq-section .faq-question { font-size: .88rem !important; }
  .faq-section .faq-answer { padding: 12px 14px 16px !important; }
  .faq-section .faq-answer p { font-size: .88rem !important; }
  .contact-section .contact-left-column { grid-template-columns: 1fr; }
  .contact-section .contact-card { padding: 20px !important; border-radius: 18px !important; }
  .contact-section .contact-intro-card h3 { font-size: 1.25rem !important; }
  .contact-section .contact-form-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  .contact-section .contact-field input,
  .contact-section .contact-field select,
  .contact-section .contact-field textarea { font-size: 1rem !important; }
  .contact-section .contact-panel-head h3 { font-size: 1.08rem !important; }
  .contact-section .contact-heading { margin-bottom: 26px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .portfolio-section .portfolio-thumb-viewport { overflow-x: auto; }
  .portfolio-section .portfolio-thumbs.kd-portfolio-loop { animation: none !important; transform: none !important; }
  .portfolio-section .portfolio-thumb-group[aria-hidden="true"] { display: none; }
  .blog-section .blog-carousel-track { transition: none !important; }
}

/* October 10 audit: Home hierarchy, neutral backgrounds and compact mobile footer. */
.hero-section .hero-grid {
  grid-template-columns: minmax(0,1.38fr) minmax(0,.92fr) !important;
  grid-template-areas: "welcome visual" "title visual" "copy visual";
  grid-template-rows: auto auto auto;
  align-content: center;
  column-gap: 28px !important;
  row-gap: 16px !important;
}
.hero-section .hero-copy { grid-area: copy; max-width: none !important; }
.hero-section .hero-visual { grid-area: visual; }
.hero-section .hero-welcome {
  grid-area: welcome;
  justify-self: start;
  min-width: 0;
  width: min(100%, calc(100vw - 24px));
  container-type: inline-size;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: clamp(1.35rem,2.25vw,2rem);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .07em;
}
.hero-welcome-text {
  display: inline-block;
  vertical-align: top;
  font-size: min(2rem, 4.55cqi);
  white-space: nowrap;
  animation: kd-welcome-typing 3s steps(30,end) infinite;
}
.hero-section .hero-title {
  grid-area: title;
  margin: 0;
  max-width: none !important;
  font-size: clamp(2.1rem,3.55vw,3.5rem) !important;
  line-height: 1.12 !important;
  letter-spacing: -.045em !important;
  text-wrap: initial !important;
}
.hero-section .home-title-line { display: block; }
.footer-summary-mobile { display: none; }

/* Keep gold for buttons, small badges and brand accents, rather than large fills. */
body { background: #f7f9fc !important; }
.hero-section::before { background: linear-gradient(rgba(4,23,45,.14),rgba(3,19,37,.28)) !important; }
.hero-section::after {
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 0 0 60px rgba(255,255,255,.025),0 0 0 120px rgba(255,255,255,.018);
}
.pricing-section,
.blog-section,
.contact-section { background: #f7f9fc !important; }
.pricing-section::before,
.pricing-section::after,
.blog-section::before,
.blog-section::after,
.contact-section::before,
.contact-section::after { background: none !important; }
.pricing-section .pricing-card-reference.featured,
.pricing-section .pricing-card-reference.is-highlighted {
  background: #fff !important;
  box-shadow: 0 24px 56px rgba(15,46,69,.14),0 0 0 4px rgba(15,46,69,.04) !important;
}
.pricing-section .pricing-table thead th.is-highlighted { color: #fff !important; background: #173e5a !important; }
.pricing-section .pricing-table tbody td.is-highlighted,
.pricing-section .pricing-table tbody tr:hover th,
.pricing-section .pricing-table tbody tr:hover td { background: #edf3f8 !important; }
.contact-section .contact-card::before,
.contact-section .contact-intro-card::before { background: none !important; }

@media (min-width: 901px) {
  .hero-section .home-title-line { white-space: nowrap; }
}
@keyframes kd-welcome-typing {
  0% { clip-path: inset(0 100% 0 0); }
  60%, 100% { clip-path: inset(0 0 0 0); }
}
@media (min-width: 901px) and (max-width: 1199px) {
  .hero-section .hero-title { font-size: clamp(1.8rem,3.35vw,2.5rem) !important; }
}
@media (max-width: 900px) {
  .hero-section .hero-grid {
    grid-template-columns: minmax(0,1fr) !important;
    grid-template-areas: "welcome" "title" "visual" "copy";
    grid-template-rows: auto auto auto auto;
    min-height: 0 !important;
    row-gap: 18px !important;
  }
  .hero-section .hero-welcome {
    justify-self: start;
    max-width: 100%;
    text-align: left;
    font-size: clamp(1rem,5.35vw,2rem);
    letter-spacing: -.04em;
    white-space: nowrap;
  }
  .hero-section .hero-welcome-text {
    font-size: min(2rem, 5.55cqi);
  }
  .hero-section .hero-title {
    font-size: clamp(1.375rem,5.9vw,1.75rem) !important;
    line-height: 1.24 !important;
    letter-spacing: -.035em !important;
  }
  .hero-section .hero-visual { justify-self: center !important; }
  .hero-section .hero-card-main { max-width: 380px !important; }
  .nav-overlay-mobile.active {
    background: rgba(3,13,23,.38) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    backdrop-filter: blur(10px) !important;
  }
  .site-footer { padding-top: 32px !important; }
  .site-footer .footer-grid {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 22px 20px !important;
  }
  .site-footer .footer-brand { grid-column: 1 / -1; gap: 8px !important; }
  .site-footer .footer-brand h3 { margin: 0 !important; font-size: 1.1rem !important; }
  .site-footer .footer-summary-desktop { display: none; }
  .site-footer .footer-summary-mobile {
    display: block;
    max-width: none !important;
    margin: 0 !important;
    font-size: .8rem !important;
    line-height: 1.6 !important;
  }
  .site-footer .footer-column h4 { margin: 0 0 8px !important; font-size: .84rem !important; }
  .site-footer .footer-accent { display: none !important; }
  .site-footer .footer-links { grid-template-columns: 1fr !important; gap: 0 !important; }
  .site-footer .footer-links a,
  .site-footer .footer-contact-item {
    min-height: 36px;
    padding: 5px 0 !important;
    gap: 7px !important;
    font-size: .76rem !important;
    line-height: 1.5 !important;
    align-items: baseline;
  }
  .site-footer .footer-links span { min-width: 0; overflow-wrap: anywhere; }
  .site-footer .footer-links i,
  .site-footer .footer-contact-item i { flex: 0 0 14px; width: 14px; font-size: .8rem !important; }
  .site-footer .footer-social-column {
    grid-column: 1 / -1;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .site-footer .footer-social-column h4 { margin: 0 !important; }
  .site-footer .footer-socials { display: flex !important; flex-wrap: wrap; gap: 8px !important; }
  .site-footer .footer-socials a { width: 36px !important; height: 36px !important; border-radius: 10px !important; }
  .site-footer .footer-bottom { margin-top: 24px !important; padding: 16px !important; }
  .site-footer .footer-bottom p { font-size: .72rem !important; line-height: 1.5 !important; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-welcome-text { animation: none !important; clip-path: none !important; }
}

/* Follow-up audit: navbar indicators, Home spacing and mobile actions only. */
.site-header .nav-link .nav-link-label::after,
.site-header .nav-button .nav-link-label::after,
.nav-menu-mobile .nav-link .nav-link-label::after,
.nav-menu-mobile .nav-button .nav-link-label::after {
  content: none !important;
  display: none !important;
}
.site-header .active-indicator,
.nav-menu-mobile .active-indicator { display: none !important; }
.hero-section { min-height: 0 !important; padding-bottom: 0 !important; }
.hero-section .hero-grid { min-height: 0 !important; padding-bottom: 16px !important; }

@media (min-width: 901px) {
  .site-header .app-install-button { display: none !important; }
}
@media (max-width: 900px) {
  .mobile-bottom-nav { display: none !important; }
  body { padding-bottom: env(safe-area-inset-bottom,0px) !important; }
  .nav-menu-mobile { bottom: max(12px,env(safe-area-inset-bottom)) !important; }
  .hero-section .hero-grid { padding-bottom: 24px !important; }
  .hero-section .hero-actions {
    display: grid !important;
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    gap: 8px !important;
    width: 100%;
    margin-top: 6px !important;
  }
  .hero-section .hero-actions .button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0 !important;
    min-height: 52px !important;
    margin: 0;
    padding: 8px 6px !important;
    border-radius: 12px !important;
    font-size: clamp(.75rem,3vw,.85rem) !important;
    font-weight: 700 !important;
    line-height: 1.4;
    text-align: center;
    white-space: normal !important;
    box-shadow: none !important;
  }
  .hero-section .hero-actions .button:first-child {
    grid-column: auto !important;
  }
  .hero-section .hero-actions .button:nth-child(3) { grid-column: auto !important; }
  .hero-section .hero-actions .button-secondary {
    color: #fff !important;
    background: rgba(255,255,255,.065) !important;
    border: 1px solid rgba(255,255,255,.28) !important;
  }
}

/* Current audit: centered mobile headings and a content-sized desktop Home. */
@media (min-width: 901px) {
  .hero-section .hero-grid {
    height: auto !important;
    padding-bottom: 0 !important;
    row-gap: 12px !important;
  }
}
@media (max-width: 900px) {
  .hero-section .hero-welcome,
  .hero-section .hero-welcome-text { font-weight: 900 !important; }
  main section :is(h1,h2,h3,h4,h5,h6) { text-align: center !important; }
  main section :is(.section-heading,.pricing-header,.blog-section-intro,.route-page-intro-copy,.about-team-heading-copy) {
    text-align: center !important;
    margin-inline: auto !important;
    align-items: center !important;
    justify-items: center !important;
  }
  main section :is(.section-heading,.pricing-header,.blog-section-intro,.route-page-intro-copy,.about-team-heading-copy) > p {
    text-align: center !important;
    margin-inline: auto !important;
  }
  main section :is(.section-heading,.pricing-header,.blog-section-intro) .eyebrow {
    margin-inline: auto !important;
    justify-self: center;
  }
  .hero-section .hero-copy > p { text-align: center !important; }
  .hero-section .hero-social { justify-content: center !important; }
  main section :is(.service-group-title,.pricing-subsection-title) { justify-content: center !important; text-align: center !important; }
  .contact-section .contact-panel-head { flex-direction: column; text-align: center; }
  .contact-section .contact-panel-head > div { text-align: center; }
}

/* Reduced-motion users keep a single, touch-accessible portfolio track. */
.portfolio-section .portfolio-thumbs.kd-portfolio-static {
  display: flex !important;
  flex-wrap: nowrap !important;
  width: max-content !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
  position: static !important;
  transform: none !important;
  animation: none !important;
  will-change: auto !important;
}
.portfolio-section .portfolio-thumbs.kd-portfolio-static .thumb-card {
  flex: 0 0 clamp(176px, 43vw, 220px);
  width: clamp(176px, 43vw, 220px);
  max-width: none !important;
  min-width: 0;
  height: auto;
  background: #174466;
  color: #fff;
  border-radius: 14px;
  padding: 8px;
  scroll-snap-align: start;
}
.portfolio-section .portfolio-thumbs.kd-portfolio-static .thumb-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.portfolio-section .portfolio-thumbs.kd-portfolio-static .thumb-card span {
  color: #f4f8fc;
  display: block;
  font-size: .8rem;
  line-height: 1.45;
}
@media (prefers-reduced-motion: reduce) {
  .portfolio-section .portfolio-thumb-viewport {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x proximity;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .portfolio-section .portfolio-thumbs.kd-portfolio-loop {
    animation: none !important;
    animation-name: none !important;
    transform: none !important;
    will-change: auto !important;
  }
  .portfolio-section .portfolio-thumb-group[aria-hidden="true"] { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-section .hero-carousel-image,
  .portfolio-section .portfolio-thumbs,
  .blog-section .blog-carousel-track { animation: none !important; transition-duration: .01ms !important; }
}
.kd-page-hidden .portfolio-section .portfolio-thumbs.kd-portfolio-loop { animation-play-state: paused !important; }

/* Conserve battery on coarse-pointer devices. Motion remains refined on desktop. */
@media (max-width: 900px), (pointer: coarse) {
  .about-section .team-avatar-wrap,
  .about-section .team-avatar-ring-one,
  .about-section .team-avatar-ring-two {
    animation: none !important;
  }
  .about-section .team-avatar-wrap { transform: none !important; }
}


/* ========================================================================
   Koteka Digital — targeted manual audit fixes, 10 October 2026.
   Scope: mobile Home, route hero imagery, article navigation and scroll motion.
   ======================================================================== */

/* Fixed header must show the underlying opened route hero rather than white. */
body:has(.route-page-intro) .site-header,
body:has(.route-page-intro) .site-header:not(.kd-scrolled) {
  background: transparent !important;
}
.route-page .route-page-intro {
  margin-top: calc(-1 * var(--nav-offset, 80px));
  padding-top: calc(var(--nav-offset, 80px) + clamp(46px, 6vw, 84px)) !important;
  min-height: clamp(520px, 76svh, 750px);
  border-radius: 0 0 28px 28px !important;
  background-image: var(--kd-overlay-dark), var(--kd-bg-home) !important;
  background-size: cover !important;
  background-position: center center !important;
}
.route-page .route-page-intro .route-page-intro-layout {
  display: grid !important;
  grid-template-columns: minmax(0,1.15fr) minmax(240px,.85fr) !important;
  align-items: center !important;
  gap: clamp(18px,3vw,50px) !important;
}
.route-page-intro .route-page-intro-copy {min-width:0;}
.route-page-intro .route-page-intro-copy :is(h1,p,.eyebrow) {
  color: #f4f8ff !important;
  text-shadow: 0 2px 16px rgba(0,12,26,.44);
}
.route-page-intro .route-page-intro-copy .eyebrow { color:#ffe293 !important; }
.route-page-intro .route-page-hero-media {
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  display: grid;
  place-items: center;
}
.route-page-intro .route-page-hero-media img {
  display:block;
  width:min(100%,480px) !important;
  max-height: min(56svh,460px);
  height:auto !important;
  object-fit:contain !important;
  filter:drop-shadow(0 18px 25px rgba(1,17,34,.2));
}
.route-page-intro .route-page-hero-media figcaption {
  color:#f1f6ff !important;
  font-size:.79rem;
  text-align:center;
  padding:0 8px;
}

/* Mobile: retain the same welcome typing and a subtle, compositor-driven
   background movement as desktop; no heavy blur/video added. */
@keyframes kd-home-bg-pan {
  0%,100% { transform: translate3d(-1.8%,0,0) scale(1.065); }
  50% { transform: translate3d(1.8%,-.75%,0) scale(1.065); }
}
@media (max-width: 900px) {
  .hero-section {isolation:isolate;position:relative;}
  .hero-section::before {
    content:"";
    position:absolute;
    z-index:0;
    inset:-3%;
    pointer-events:none;
    background-image: var(--kd-overlay-dark), var(--kd-bg-home);
    background-position:center;
    background-size:cover;
    background-repeat:no-repeat;
    animation:kd-home-bg-pan 18s ease-in-out infinite;
  }
  .hero-section .hero-grid {position:relative;z-index:1;}
  .hero-section .hero-welcome-text {
    animation: kd-welcome-typing 3.4s steps(30,end) infinite !important;
    max-width:100%;
  }
  .hero-section .hero-copy > p,
  .hero-section .hero-note,
  .hero-section .hero-proof {
    text-align:left !important;
    text-wrap:pretty;
    max-width:100%;
    line-height:1.68 !important;
    overflow-wrap:break-word;
  }
  .route-page .route-page-intro {min-height:auto;padding-bottom:54px !important;}
  .route-page .route-page-intro .route-page-intro-layout {
    grid-template-columns:minmax(0,1fr) !important;
    justify-items:center;
    gap:20px !important;
  }
  .route-page .route-page-hero-media img {width:min(76vw,360px) !important;max-height:300px;}
  .route-page .route-page-intro-copy {text-align:center;}
}
@media (prefers-reduced-motion:reduce) {
  .hero-section::before {animation:none !important;transform:none !important;}
  .hero-section .hero-welcome-text {animation:none !important;clip-path:none !important;}
}

/* Unified article navbar follows the main site's navy/gold capsule identity. */
.kd-article-page .article-topbar {
  position:sticky !important;
  top:8px !important;
  z-index:60 !important;
  width:min(var(--kd-content,1180px),calc(100% - 24px)) !important;
  margin:8px auto 0 !important;
  border-radius:22px !important;
  border:1px solid rgba(255,221,117,.22) !important;
  background:linear-gradient(115deg,rgba(3,21,37,.96),rgba(10,55,87,.95)) !important;
  box-shadow:0 14px 34px rgba(2,18,33,.22) !important;
}
.kd-article-page .article-topbar-inner {width:100% !important;max-width:100% !important;padding:6px 14px !important;min-height:68px;}
.kd-article-page .article-brand {text-decoration:none;gap:9px;}
.kd-article-page .article-brand-title {color:#fff !important;font-family:Poppins,sans-serif;letter-spacing:.02em;font-weight:800;}
.kd-article-page .article-brand-subtitle {color:#f8d47b !important;font-size:.62rem;letter-spacing:.08em;text-transform:uppercase;}
.kd-article-page .article-topbar-nav {gap:2px;align-items:center;flex-wrap:nowrap;}
.kd-article-page .article-topbar-nav > a {
  padding:10px 9px !important;
  font-family:Poppins,sans-serif;
  font-size:clamp(.72rem,.82vw,.84rem);
  font-weight:600;
  line-height:1.3;
  color:#f3f7ff !important;
  white-space:nowrap;
  text-decoration:none;
}
.kd-article-page .article-topbar-nav > a.active {color:#ffe28d !important;background:rgba(255,208,87,.1) !important;}
.kd-article-page .article-topbar-nav > a.article-nav-cta {
  margin-left:8px;
  padding:11px 15px !important;
  border-radius:999px !important;
  background:#13a45b !important;
  color:#fff !important;
  box-shadow:0 7px 20px rgba(3,86,46,.18);
  font-size:.73rem;
  font-weight:750;
}
.kd-article-page .article-nav-cta:hover {background:#098a47 !important;color:#fff !important;}
.kd-article-page .article-service-tagline {font-weight:600;font-size:.9rem;line-height:1.6;}
.kd-article-page .article-shell {padding-top:clamp(28px,4vw,52px) !important;}
@media (max-width:1100px) {
  .kd-article-page .article-topbar-nav > a {padding-inline:6px !important;font-size:.69rem;}
  .kd-article-page .article-topbar-nav > a.article-nav-cta {padding-inline:11px !important;}
}
@media (max-width:900px) {
  .kd-article-page .article-topbar {top:0 !important;width:100% !important;margin:0 !important;border-radius:0 0 18px 18px !important;}
  .kd-article-page .article-topbar-inner {min-height:62px;}
  .kd-article-page .article-topbar-nav {display:none !important;}
  .kd-article-page .article-menu-toggle {display:inline-flex !important;align-items:center;justify-content:center;}
}

/* Entry motion: section headings, icons and card groups enter by transform/
   opacity; slide is retriggered when scrolling up or down. Always readable
   even if JS or IntersectionObserver is disabled. */
@keyframes kd-scroll-arrive {
  from {opacity:.42; transform:translate3d(0,18px,0);}
  to {opacity:1; transform:translate3d(0,0,0);}
}
@media (prefers-reduced-motion:no-preference) {
  .kd-scroll-enter {animation:kd-scroll-arrive .72s cubic-bezier(.2,.78,.2,1) both;}
  .kd-scroll-enter.kd-scroll-from-top {animation-name:kd-scroll-arrive-top;}
}
@keyframes kd-scroll-arrive-top {
  from {opacity:.42;transform:translate3d(0,-15px,0);}
  to {opacity:1;transform:translate3d(0,0,0);}
}
@media (prefers-reduced-motion:reduce) {
  .kd-scroll-enter {animation:none !important;opacity:1 !important;transform:none !important;}
}

/* Tablet-width article navigation uses the sidebar rather than clipping links. */
@media (min-width:901px) and (max-width:1120px) {
 .kd-article-page .article-topbar-nav {display:none !important;}
 .kd-article-page .article-topbar-left {width:100%;justify-content:space-between;}
 .kd-article-page .article-menu-toggle {display:inline-flex !important;align-items:center;justify-content:center;order:2;color:#ffda75 !important;}
 .kd-article-page .article-mobile-sidebar {display:block;}
}

/* === Manual audit October 10: exact 3-line hero and visual hierarchy === */
.hero-section .hero-grid { row-gap: clamp(4px, .65vw, 12px) !important; }
.hero-section .hero-welcome { margin-block-end: 0 !important; line-height: 1.35 !important; }
.hero-section .hero-title { margin-block-start: 0 !important; }
.hero-section .kd-welcome-brand { font-weight: 900 !important; color: #ffdc72 !important; text-shadow: 0 1px 14px rgba(255,212,88,.12); }
@media (min-width: 901px) {
  .hero-section .hero-grid { row-gap: 4px !important; }
  .hero-section .hero-welcome { align-self: end !important; }
  .hero-section .hero-title { align-self: start !important; }
}
@media (max-width: 900px) {
  .hero-section .hero-grid { row-gap: 10px !important; }
  .hero-section .hero-title { font-size: clamp(1.05rem,4.95vw,1.75rem) !important; line-height: 1.32 !important; letter-spacing: -.035em !important; width: 100% !important; max-width:100% !important; text-align:center !important; }
  .hero-section .home-title-line { display:block !important; white-space:nowrap !important; overflow:visible !important; }
  .hero-section .hero-welcome { margin: 0 !important; }
}
@media (max-width: 340px) {
  .hero-section .hero-title { font-size: clamp(1rem,5vw,1.1rem) !important; }
}
/* Article mobile typography aligns to the main site; modal navigation above ALL sticky UI. */
.kd-article-page { --kd-article-reading: clamp(.88rem, 2.7vw, 1rem); }
.kd-article-page .article-body p, .kd-article-page .article-body li,
.kd-article-page .route-article-body p, .kd-article-page .route-article-body li { line-height: 1.78 !important; }
@media (max-width: 900px) {
  .kd-article-page .article-hero h1, .kd-article-page .route-article-hero h1 { font-size: clamp(1.45rem, 5.15vw, 2.15rem) !important; line-height:1.25 !important; }
  .kd-article-page .article-body h2, .kd-article-page .route-article-body h2 { font-size: clamp(1.14rem,4.35vw,1.55rem) !important; line-height:1.35 !important; }
  .kd-article-page .article-body p, .kd-article-page .article-body li,
  .kd-article-page .route-article-body p, .kd-article-page .route-article-body li { font-size: var(--kd-article-reading) !important; }
  .kd-article-page .article-mobile-overlay { position:fixed !important; inset:0 !important; z-index:2147483600 !important; background:rgba(2,10,22,.64) !important; -webkit-backdrop-filter:blur(14px) !important; backdrop-filter:blur(14px) !important; }
  .kd-article-page .article-mobile-sidebar { position:fixed !important; z-index:2147483601 !important; top:0 !important; bottom:0 !important; right:0 !important; height:100dvh !important; max-height:100dvh !important; overflow-y:auto !important; -webkit-overflow-scrolling:touch !important; }
  body.article-menu-open { overflow:hidden !important; }
}
@media (prefers-reduced-motion:reduce) { .kd-article-page .article-mobile-overlay, .kd-article-page .article-mobile-sidebar {transition:none !important;} }


/* =======================================================================
   Manual QA pass — 10 October 2026. Only the six requested refinements:
   desktop Home rhythm and no bottom void; full-width mobile heading;
   earlier/visible scroll entrances on both form factors; button color+motion.
   No content, routing or application features were modified.
   ======================================================================= */
.hero-section {
  min-height: 100vh !important;
  min-height: 100dvh !important;
  margin-top: calc(-1 * var(--nav-offset, 82px)) !important;
  padding-top: var(--nav-offset, 82px) !important;
  padding-bottom: 0 !important;
}
.hero-section .hero-grid {
  height: auto !important;
  min-height: calc(100vh - var(--nav-offset, 82px)) !important;
  min-height: calc(100dvh - var(--nav-offset, 82px)) !important;
  padding-bottom: 0 !important;
}
@media (min-width: 901px) {
  .hero-section .hero-grid {
    grid-template-rows: auto auto auto !important;
    align-content: center !important;
    row-gap: clamp(13px, 1.2vw, 19px) !important;
  }
  .hero-section .hero-welcome {
    margin: 0 !important;
    align-self: end !important;
    line-height: 1.48 !important;
  }
  .hero-section .hero-title {
    margin: 0 !important;
    align-self: start !important;
  }
  /* The next section begins naturally after the Home content. */
  .hero-section + section { margin-block-start: 0 !important; }
}
@media (max-width: 900px) {
  #main-content > .deferred-section,
  #main-content > .deferred-section > section {
    content-visibility: visible !important;
    contain-intrinsic-size: none !important;
  }
  .hero-section .hero-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    row-gap: clamp(14px, 3.5vw, 22px) !important;
  }
  main .hero-section .hero-title {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
    text-align: left !important;
    font-size: clamp(1.02rem, 4.85vw, 1.65rem) !important;
    font-weight: 800 !important;
    letter-spacing: -.03em !important;
    line-height: 1.27 !important;
    text-wrap: initial !important;
  }
  main .hero-section .hero-title .home-title-line {
    display: block !important;
    white-space: nowrap !important;
    width: 100% !important;
    text-align: left !important;
  }
}
@media (max-width: 359px) {
  main .hero-section .hero-title {
    font-size: clamp(.96rem, 4.7vw, 1.06rem) !important;
    letter-spacing: -.038em !important;
  }
}

/* Entry choreography: start after a small portion enters viewport, NOT after
   an entire section. Independent translate avoids clobbering React Motion's
   transform; opacity is never preset to zero on first paint. */
@keyframes kd-qa-enter-down {
  from { opacity: .64; translate: 0 23px; }
  to   { opacity: 1; translate: 0 0; }
}
@keyframes kd-qa-enter-up {
  from { opacity: .64; translate: 0 -19px; }
  to   { opacity: 1; translate: 0 0; }
}
@media (prefers-reduced-motion: no-preference) {
  :is(.section-heading,.services-heading,.pricing-header,.portfolio-heading,
      .blog-section-intro,.faq-heading,.contact-heading,.about-heading,
      .about-team-heading-copy,.route-page-intro-copy,.route-page-hero-media,
      .article-hero,.article-proof,.service-card,.pricing-card-reference,
      .portfolio-card,.blog-card,.contact-card,.testimonial-card).kd-scroll-enter {
    animation: kd-qa-enter-down .58s cubic-bezier(.22,1,.36,1) both !important;
  }
  :is(.section-heading,.services-heading,.pricing-header,.portfolio-heading,
      .blog-section-intro,.faq-heading,.contact-heading,.about-heading,
      .about-team-heading-copy,.route-page-intro-copy,.route-page-hero-media,
      .article-hero,.article-proof,.service-card,.pricing-card-reference,
      .portfolio-card,.blog-card,.contact-card,.testimonial-card).kd-scroll-enter.kd-scroll-from-top {
    animation-name: kd-qa-enter-up !important;
  }
}
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  :is(.section-heading,.services-heading,.pricing-header,.portfolio-heading,
      .blog-section-intro,.faq-heading,.contact-heading,.about-heading,
      .about-team-heading-copy,.route-page-intro-copy,.route-page-hero-media,
      .article-hero,.article-proof,.service-card,.pricing-card-reference,
      .portfolio-card,.blog-card,.contact-card,.testimonial-card).kd-scroll-enter {
    animation-duration: .5s !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .kd-scroll-enter {animation: none !important; translate: none !important; opacity: 1 !important;}
}

/* Shared controls: a button must respond through BOTH color and position.
   Use `translate` in addition to existing transforms so no Motion/React inline
   transform is overridden; provide focus and active equivalents. */
:is(button,.button,[role="button"],.pricing-cta,.portfolio-cta,.blog-cta,
    .service-cta,.contact-cta-button,.back-link,.article-nav-cta,
    .app-install-button,.blog-arrow-button,.cta-pill) {
  transition: translate .25s cubic-bezier(.22,1,.36,1),
              background-color .25s ease, background-image .25s ease,
              color .25s ease, border-color .25s ease,
              box-shadow .25s ease !important;
}
@media (hover: hover) and (pointer: fine) {
  :is(button,.button,[role="button"],.pricing-cta,.portfolio-cta,
      .blog-cta,.service-cta,.contact-cta-button,.back-link,
      .app-install-button,.blog-arrow-button,.cta-pill):not(:disabled):hover {
    translate: 0 -3px !important;
  }
  /* Primary gold -> rich navy, visually clear on dark hero. */
  .hero-section .hero-actions :is(.button-primary,.hero-portfolio-button):hover {
    background: linear-gradient(135deg,#2078b6,#0b3a60) !important;
    border-color: #76c6ff !important;
    color: #fff !important;
    box-shadow: 0 13px 29px rgba(2,18,33,.33) !important;
  }
  /* Secondary translucent -> solid gold, not just a translate. */
  .hero-section .hero-actions :is(.button-secondary,.hero-pricing-button):hover {
    background: linear-gradient(135deg,#ffe28b,#edb935) !important;
    border-color: #ffdf72 !important;
    color: #092c46 !important;
    box-shadow: 0 12px 24px rgba(1,17,31,.22) !important;
  }
  /* Navigation links, mobile drawer and every project CTA. */
  :is(.site-header,.nav-menu-mobile) :is(.nav-link,.nav-button,.dropdown-link):hover {
    background: rgba(255,218,103,.18) !important;
    color: #ffe18b !important;
    border-color: rgba(255,218,103,.43) !important;
    translate: 0 -2px !important;
  }
  :is(.pricing-cta,.portfolio-cta,.blog-cta,.service-cta,
      .contact-cta-button,.contact-section .form-submit,
      .contact-form button[type="submit"],.back-link):hover {
    background: linear-gradient(135deg,#ffdf7c,#edb62e) !important;
    border-color: #e7ad20 !important;
    color: #092b42 !important;
    box-shadow: 0 12px 24px rgba(89,60,11,.17) !important;
  }
  :is(.blog-arrow-button,.portfolio-arrow-button,.faq-trigger,
      .article-menu-toggle,.mobile-close,.app-install-button):hover {
    background: #185e8c !important;
    border-color: #4fa7d4 !important;
    color: #fff !important;
  }
  :is(.cta-pill.whatsapp-button,.article-nav-cta,.whatsapp-button:not(.hero-actions .button)):hover {
    background: #076940 !important;
    border-color: #16a96a !important;
    color: #fff !important;
    box-shadow: 0 12px 26px rgba(8,105,65,.25) !important;
  }
  :is(.blog-section .blog-card a,.portfolio-section .thumb-card,
      .footer-socials a,.hero-social-link):hover {
    border-color: #eabb43 !important;
    background-color: rgba(239,187,59,.16) !important;
    color: #ffe08a !important;
    translate: 0 -2px !important;
  }
}
:is(button,.button,[role="button"],.pricing-cta,.portfolio-cta,
    .blog-cta,.service-cta,.contact-cta-button,.back-link,
    .app-install-button,.blog-arrow-button,.cta-pill):focus-visible {
  translate: 0 -2px !important;
  outline: 2px solid #ffd96a !important;
  outline-offset: 3px !important;
}
@media (hover: none) {
  :is(button,.button,[role="button"],.pricing-cta,.portfolio-cta,
      .blog-cta,.service-cta,.contact-cta-button):not(:disabled):active {
    translate: 0 1px !important;
    filter: brightness(1.18);
  }
}
@media (prefers-reduced-motion: reduce) {
  :is(button,.button,[role="button"],.pricing-cta,.portfolio-cta,
      .blog-cta,.service-cta,.contact-cta-button,.back-link) {
    transition: none !important;
    translate: none !important;
  }
}

/* Safe global fallback for ordinary HTML buttons outside named CTA components:
   color change via brightness/saturation accompanies the translate movement. */
@media (hover: hover) and (pointer: fine) {
  :is(button,.button,[role="button"],a.button):not(:disabled):hover {
    filter: brightness(1.09) saturate(1.11);
    translate: 0 -2px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  :is(button,.button,[role="button"],a.button) { translate: none !important; }
}

/* Desktop Contact: restore the information/maps column beside the form. */
@media (min-width: 901px) {
  #kontak .contact-main-grid {
    grid-template-areas: "intro form" "location form";
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr) !important;
    grid-template-rows: auto auto;
    gap: 24px 28px !important;
  }
  #kontak .contact-left-column { display: contents; }
  #kontak .contact-intro-card { grid-area: intro; height: auto !important; }
  #kontak .contact-form-card { grid-area: form; min-width: 0; }
  #kontak .contact-location-card { grid-area: location; min-width: 0; }
  #kontak .contact-card {
    border-radius: 24px !important;
    border-color: #cddde9 !important;
    box-shadow: 0 18px 44px rgba(8, 38, 62, .1), inset 0 1px 0 #fff !important;
  }
  #kontak .contact-intro-card {
    color: #f7fbff !important;
    background: radial-gradient(circle at 100% 0, rgba(255, 217, 106, .13), transparent 48%),
                linear-gradient(145deg, #123f5c, #071f33) !important;
    border-color: #234968 !important;
    box-shadow: 0 18px 44px rgba(8, 38, 62, .18), inset 0 1px 0 rgba(255, 255, 255, .12) !important;
  }
  #kontak .contact-intro-card h3 { color: #f7fbff !important; }
  #kontak .contact-intro-card .contact-small-label { color: #ffe083 !important; }
  #kontak .contact-intro-card .contact-lead,
  #kontak .contact-intro-card .contact-benefit span { color: #dfebf5 !important; }
  #kontak .contact-intro-card .contact-benefit > i { color: #ffe083 !important; }
  #kontak .contact-form-card {
    background: linear-gradient(160deg, #fff, #f8fbfe) !important;
    border-top: 3px solid #d8ae4d !important;
  }
  #kontak .contact-form-card .contact-panel-head {
    background: linear-gradient(120deg, #0b2d47, #164d70);
    border: 1px solid #234968;
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 24px !important;
  }
  #kontak .contact-form-card .contact-panel-head h3 { color: #fff !important; }
  #kontak .contact-form-card .contact-panel-copy { color: #e0edf6 !important; }
  #kontak .contact-form-card .contact-panel-icon {
    color: #ffe083 !important;
    background: rgba(255, 224, 131, .12) !important;
  }
  #kontak .contact-form-help { border: 1px solid #dce7ef; }
  #kontak .contact-map-panel { border-radius: 16px !important; }
  #kontak .map-wrap { height: 220px !important; }
}

/* Production QA: keyboard focus should stay visible above motion layers. */
@media (prefers-reduced-motion: no-preference) {
  #kd-scroll-progress { transition: opacity .18s ease; }
}
:where(.kd-premium, .kd-article-page) :where(a,button,input,select,textarea,[role="button"]):focus-visible {
  outline: 3px solid #f7c65d;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  :where(.kd-premium, .kd-article-page) *,
  :where(.kd-premium, .kd-article-page) *::before,
  :where(.kd-premium, .kd-article-page) *::after {
    scroll-behavior: auto !important;
  }
}
