:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --ink: #101522;
  --muted: #5d6a7f;
  --line: #dfe6f1;
  --dark: #070a12;
  --dark-2: #101522;
  --blue: #2f8cff;
  --violet: #8b5cf6;
  --green: #26d3a2;
  --shadow: 0 22px 70px rgba(16, 21, 34, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--max), calc(100% - 24px));
  min-height: 68px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 10px 12px;
  color: #fff;
  background: rgba(7, 10, 18, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.brand {
  grid-column: 1;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: auto;
  height: 54px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand span {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand strong {
  color: #fff;
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap;
}

.brand small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
}

.desktop-nav {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  justify-content: center;
  gap: 6px;
  align-items: center;
  min-width: 0;
  direction: inherit;
}

.desktop-nav a,
.mobile-drawer a {
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
  font-size: 14px;
  transition: color 180ms ease, background 180ms ease;
}

.desktop-nav a:hover,
.mobile-drawer a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
}

.header-actions {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 8px;
}

.ghost-button,
.menu-button {
  min-width: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.ghost-button {
  padding: 0 14px;
}

.menu-button {
  display: none;
}

.menu-button svg,
.floating-whatsapp svg,
.service-icon svg,
.primary-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  inset-inline-end: 0;
  width: min(360px, 88vw);
  height: 100vh;
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  background: #070a12;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.12);
  transform: translateX(110%);
  transition: transform 220ms ease;
}

[dir="rtl"] .mobile-drawer {
  transform: translateX(-110%);
}

.mobile-drawer.is-open,
[dir="rtl"] .mobile-drawer.is-open {
  transform: translateX(0);
}

.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  color: #fff;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--dark);
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("../assets/kenan-tech-hero.png");
  background-size: cover;
  background-position: center right;
  opacity: 0.74;
  animation: slowPan 18s ease-in-out infinite alternate;
}

[dir="rtl"] .hero-media {
  background-position: center left;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 10, 18, 0.96) 0%, rgba(7, 10, 18, 0.83) 42%, rgba(7, 10, 18, 0.3) 100%),
    radial-gradient(circle at 70% 35%, rgba(47, 140, 255, 0.25), transparent 35%),
    radial-gradient(circle at 28% 68%, rgba(38, 211, 162, 0.12), transparent 28%);
}

[dir="rtl"] .hero-overlay {
  background:
    linear-gradient(270deg, rgba(7, 10, 18, 0.96) 0%, rgba(7, 10, 18, 0.83) 42%, rgba(7, 10, 18, 0.3) 100%),
    radial-gradient(circle at 30% 35%, rgba(47, 140, 255, 0.25), transparent 35%),
    radial-gradient(circle at 72% 68%, rgba(38, 211, 162, 0.12), transparent 28%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  direction: ltr;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.62fr);
  gap: 36px;
  align-items: end;
  padding-top: 120px;
}

[dir="rtl"] .hero-copy {
  direction: rtl;
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  text-align: end;
}

[dir="rtl"] .hero-panel {
  direction: rtl;
  grid-column: 2;
  grid-row: 1;
}

[dir="ltr"] .hero-copy {
  direction: ltr;
  grid-column: 2;
  grid-row: 1;
  justify-self: start;
  text-align: start;
}

[dir="ltr"] .hero-panel {
  direction: ltr;
  grid-column: 1;
  grid-row: 1;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.hero h1 {
  margin: 0;
  font-size: clamp(54px, 8vw, 112px);
  line-height: 0.95;
  font-weight: 900;
}

.hero-tagline {
  margin: 22px 0 10px;
  max-width: 660px;
  color: #fff;
  font-size: clamp(24px, 3.4vw, 44px);
  line-height: 1.2;
  font-weight: 800;
}

.hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-button,
.secondary-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-weight: 800;
}

.primary-button {
  color: #fff;
  border: 0;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 18px 48px rgba(47, 140, 255, 0.28);
  cursor: pointer;
}

[dir="rtl"] .primary-button svg {
  transform: rotate(180deg);
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel {
  align-self: end;
  margin-bottom: 34px;
  padding: 22px;
  text-align: start;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
}

.hero-panel span {
  color: var(--green);
  font-weight: 800;
}

.hero-panel strong {
  display: block;
  margin: 8px 0 18px;
  font-size: 22px;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.signal-grid i {
  height: 76px;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(47, 140, 255, 0.9), rgba(38, 211, 162, 0.22));
  animation: pulse 2s ease-in-out infinite;
}

.signal-grid i:nth-child(2n) {
  animation-delay: 320ms;
}

.signal-grid i:nth-child(3n) {
  animation-delay: 620ms;
}

.section {
  padding: 96px 0;
}

.section-soft {
  background: #eef3fa;
}

.section-dark {
  color: #fff;
  background: linear-gradient(135deg, #070a12, #141821);
}

.split-section,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 34px;
  align-items: start;
}

.section-copy h2,
.section-heading h2,
.why-band h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.16;
}

.section-copy p,
.section-heading p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.section-dark .section-heading p,
.section-dark .stat-card span {
  color: rgba(255, 255, 255, 0.7);
}

.mission-grid {
  display: grid;
  gap: 14px;
}

.mission-grid article,
.text-panel,
.service-card,
.stat-card,
.process-step,
.testimonial-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(16, 21, 34, 0.06);
}

.mission-grid article,
.text-panel {
  padding: 24px;
}

.mission-grid span,
.text-panel h3,
.service-card h3,
.process-step h3 {
  color: var(--ink);
}

.mission-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-weight: 900;
}

.mission-grid p,
.text-panel p {
  margin: 0;
  color: var(--muted);
}

.goals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 26px;
}

ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

li {
  position: relative;
  padding-inline-start: 22px;
  color: var(--muted);
}

li + li {
  margin-top: 8px;
}

li::before {
  content: "";
  position: absolute;
  top: 0.78em;
  inset-inline-start: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.service-card {
  min-height: 100%;
  padding: 22px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 140, 255, 0.45);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--blue);
  border-radius: var(--radius);
  background: #edf5ff;
}

[dir="rtl"] .service-icon {
  margin-inline-start: 0;
  margin-inline-end: auto;
}

[dir="ltr"] .service-icon {
  margin-inline-start: 0;
  margin-inline-end: auto;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.35;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.service-card li {
  font-size: 14px;
}

.why-band {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 34px;
  align-items: start;
  padding: 34px;
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(47, 140, 255, 0.2), rgba(38, 211, 162, 0.08)),
    #070a12;
}

.why-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.why-list p {
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

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

.stat-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.stat-card strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.process-step {
  padding: 24px;
}

.process-step span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--blue);
  font-weight: 900;
}

.process-step h3 {
  margin: 0 0 10px;
}

.process-step p {
  margin: 0;
  color: var(--muted);
}

.logo-cloud {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.logo-cloud span {
  min-height: 86px;
  display: grid;
  place-items: center;
  padding: 14px;
  color: var(--muted);
  font-weight: 900;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.testimonial-card {
  padding: 24px;
}

.testimonial-card p {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: 17px;
}

.testimonial-card strong,
.testimonial-card span {
  display: block;
}

.testimonial-card span {
  color: var(--muted);
}

.contact-section {
  background: #fff;
}

.contact-methods {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.contact-methods a,
.contact-methods span {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #f8fbff;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 22px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  outline: 0;
}

.form-note {
  margin: 0;
  padding: 12px 14px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbff;
  font-size: 14px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(47, 140, 255, 0.12);
}

.wide {
  grid-column: 1 / -1;
}

.floating-whatsapp {
  position: fixed;
  z-index: 25;
  bottom: 20px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: #19c37d;
  box-shadow: 0 18px 40px rgba(25, 195, 125, 0.34);
}

[dir="rtl"] .floating-whatsapp {
  right: 20px;
  left: auto;
}

[dir="ltr"] .floating-whatsapp {
  left: 20px;
  right: auto;
}

.floating-whatsapp svg {
  width: 30px;
  height: 30px;
}

.site-footer {
  padding: 60px 0 26px;
  color: rgba(255, 255, 255, 0.74);
  background: #070a12;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr;
  gap: 28px;
}

.footer-brand {
  margin-bottom: 18px;
}

.footer-grid h3 {
  margin: 0 0 12px;
  color: #fff;
}

.footer-grid a,
.footer-grid span {
  display: block;
  margin-top: 8px;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.noscript {
  padding: 18px;
  color: #fff;
  background: #070a12;
}

@keyframes slowPan {
  from { transform: scale(1); }
  to { transform: scale(1.04); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.45; transform: scaleY(0.75); transform-origin: bottom; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: bottom; }
}

@media (max-width: 1080px) {
  .desktop-nav {
    display: none;
  }

  .mobile-drawer {
    display: flex;
  }

  .menu-button {
    display: inline-flex;
  }

  .hero-grid,
  .split-section,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  [dir="rtl"] .hero-copy,
  [dir="rtl"] .hero-panel,
  [dir="ltr"] .hero-copy,
  [dir="ltr"] .hero-panel {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-panel {
    max-width: 460px;
  }

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

  .goals-grid,
  .process-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid,
  .logo-cloud {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .site-header {
    top: 8px;
    width: calc(100% - 16px);
  }

  .brand img {
    width: auto;
    height: 46px;
    flex-basis: auto;
  }

  .brand small {
    display: none;
  }

  .ghost-button {
    min-width: 38px;
    padding: 0 10px;
    font-size: 13px;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-grid {
    padding-top: 112px;
  }

  .hero h1 {
    font-size: clamp(48px, 16vw, 76px);
  }

  .hero-tagline {
    font-size: 25px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-actions,
  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .hero-panel {
    display: none;
  }

  .section {
    padding: 68px 0;
  }

  .services-grid,
  .goals-grid,
  .stats-grid,
  .process-grid,
  .logo-cloud,
  .testimonials-grid,
  .why-band,
  .why-list,
  .footer-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .why-band {
    padding: 24px;
  }

  .wide {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* Soft enterprise redesign inspired by the provided Kenan Tech visual reference. */
:root {
  --bg: #fbf0f3;
  --surface: #ffffff;
  --surface-soft: #fff7f9;
  --ink: #071c5c;
  --muted: #6d7280;
  --line: #e8dbe2;
  --dark: #071c5c;
  --dark-2: #0d255f;
  --blue: #2f63f4;
  --violet: #8b5cf6;
  --green: #26c6a0;
  --shadow: 0 24px 70px rgba(7, 28, 92, 0.12);
}

body {
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 255, 255, 0.9), transparent 24%),
    radial-gradient(circle at 82% 8%, rgba(255, 255, 255, 0.62), transparent 19%),
    linear-gradient(180deg, #fbf0f3 0%, #fff7f9 42%, #f8fbff 100%);
  color: var(--ink);
}

.site-header {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(7, 28, 92, 0.08);
  box-shadow: 0 18px 50px rgba(7, 28, 92, 0.1);
}

.brand {
  padding: 2px;
}

.brand img {
  height: 52px;
  padding: 5px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(7, 28, 92, 0.08);
}

.brand strong {
  color: var(--ink);
}

.brand small {
  color: rgba(7, 28, 92, 0.58);
}

.desktop-nav a,
.mobile-drawer a {
  color: rgba(7, 28, 92, 0.72);
  font-weight: 700;
}

.desktop-nav a:hover,
.mobile-drawer a:hover {
  color: var(--ink);
  background: rgba(7, 28, 92, 0.06);
}

.ghost-button,
.menu-button {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(7, 28, 92, 0.12);
}

.mobile-drawer {
  background: #fff7f9;
  border-color: rgba(7, 28, 92, 0.1);
}

.drawer-top {
  color: var(--ink);
}

.hero {
  min-height: 92vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 12%, rgba(209, 213, 219, 0.7) 0 54px, transparent 56px),
    radial-gradient(circle at 92% 12%, #071c5c 0 17px, transparent 18px),
    linear-gradient(90deg, rgba(229, 231, 235, 0.8) 0 18%, transparent 18%),
    #f8dce4;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.34), transparent 34%),
    radial-gradient(circle at 15% 72%, rgba(47, 99, 244, 0.08), transparent 28%);
}

.hero-grid {
  direction: ltr;
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
  gap: 48px;
  align-items: center;
  padding-top: 108px;
}

[dir="rtl"] .hero-copy {
  grid-column: 2;
  justify-self: end;
  text-align: end;
}

[dir="rtl"] .hero-visual {
  grid-column: 1;
}

[dir="ltr"] .hero-copy {
  grid-column: 1;
  justify-self: start;
  text-align: start;
}

[dir="ltr"] .hero-visual {
  grid-column: 2;
}

.hero-copy {
  max-width: 680px;
}

.domain-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.domain-bulb {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--blue));
  font-family: Georgia, serif;
  font-style: italic;
}

.eyebrow {
  color: var(--blue);
  font-size: 15px;
  text-transform: none;
}

.eyebrow::before {
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.hero h1 {
  color: var(--ink);
  font-size: clamp(52px, 8vw, 108px);
  line-height: 0.9;
}

.hero-tagline {
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 58px);
  line-height: 1.12;
}

.hero p {
  color: rgba(7, 28, 92, 0.72);
  font-size: 19px;
}

.hero-actions {
  align-items: center;
}

.primary-button {
  background: var(--ink);
  box-shadow: 0 18px 44px rgba(7, 28, 92, 0.22);
}

.secondary-button {
  color: var(--ink);
  border-color: rgba(7, 28, 92, 0.16);
  background: rgba(255,255,255,0.68);
}

.hero-visual {
  position: relative;
  min-height: 470px;
  display: grid;
  align-items: center;
}

.hero-illustration {
  width: min(100%, 720px);
  filter: drop-shadow(0 24px 40px rgba(7, 28, 92, 0.1));
}

.hero-panel {
  position: absolute;
  grid-column: auto;
  grid-row: auto;
  right: 18px;
  left: auto;
  bottom: 28px;
  width: 230px;
  margin: 0;
  padding: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(7, 28, 92, 0.12);
  box-shadow: 0 22px 48px rgba(7, 28, 92, 0.14);
}

.hero-visual .hero-panel {
  grid-column: auto;
  grid-row: auto;
}

[dir="ltr"] .hero-panel {
  left: 18px;
  right: auto;
}

[dir="rtl"] .hero-panel {
  left: 18px;
  right: auto;
}

.hero-panel img {
  width: auto;
  height: 78px;
  object-fit: contain;
  margin-bottom: 8px;
  border-radius: 4px;
}

.hero-panel span {
  display: block;
  color: var(--green);
  font-size: 13px;
}

.hero-panel strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.4;
}

.hero-panel a {
  width: 58px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  color: var(--ink);
  border: 1px solid rgba(7, 28, 92, 0.24);
  border-radius: 999px;
  background: #f8dce4;
}

.hero-panel a svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.section {
  padding: 88px 0;
}

.section-soft {
  background: #fff7f9;
}

.section-dark {
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 20%, rgba(47, 99, 244, 0.1), transparent 28%),
    #f8dce4;
}

.section-copy h2,
.section-heading h2,
.why-band h2 {
  color: var(--ink);
  font-weight: 900;
}

.section-copy p,
.section-heading p,
.service-card p,
.process-step p,
.mission-grid p,
.text-panel p {
  color: var(--muted);
}

.mission-grid article,
.text-panel,
.service-card,
.stat-card,
.process-step,
.testimonial-card,
.contact-form {
  border-color: rgba(7, 28, 92, 0.08);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 52px rgba(7, 28, 92, 0.08);
}

.service-card {
  padding: 24px;
}

.service-icon {
  color: var(--ink);
  background: #f8dce4;
  border: 1px solid rgba(7, 28, 92, 0.08);
}

.service-card h3,
.text-panel h3,
.process-step h3,
.mission-grid span {
  color: var(--ink);
}

li {
  color: var(--muted);
}

li::before {
  background: var(--blue);
}

.why-band {
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 18%, rgba(255,255,255,0.9), transparent 24%),
    #f8dce4;
  border: 1px solid rgba(7, 28, 92, 0.08);
}

.why-list p {
  color: var(--ink);
  border-color: rgba(7, 28, 92, 0.08);
  background: rgba(255,255,255,0.72);
}

.stat-card {
  background: #fff;
  border-color: rgba(7, 28, 92, 0.08);
}

.stat-card strong {
  color: var(--ink);
}

.section-dark .section-heading p,
.section-dark .stat-card span {
  color: var(--muted);
}

.logo-cloud span {
  color: var(--ink);
  border-color: rgba(7, 28, 92, 0.08);
  box-shadow: 0 16px 40px rgba(7, 28, 92, 0.06);
}

.testimonial-card p {
  color: var(--ink);
}

.contact-section {
  background: #fff7f9;
}

.contact-methods a,
.contact-methods span,
.contact-form input,
.contact-form select,
.contact-form textarea,
.form-note {
  color: var(--ink);
  border-color: rgba(7, 28, 92, 0.1);
  background: #fff;
}

.floating-whatsapp {
  background: var(--ink);
  box-shadow: 0 18px 44px rgba(7, 28, 92, 0.24);
}

.site-footer {
  color: rgba(7, 28, 92, 0.7);
  background: #f8dce4;
  border-top: 1px solid rgba(7, 28, 92, 0.08);
}

.site-footer .brand strong,
.site-footer h3 {
  color: var(--ink);
}

.site-footer .brand img {
  background: #fff;
}

.footer-bottom {
  border-top-color: rgba(7, 28, 92, 0.1);
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  [dir="rtl"] .hero-copy,
  [dir="ltr"] .hero-copy,
  [dir="rtl"] .hero-visual,
  [dir="ltr"] .hero-visual {
    grid-column: auto;
  }

  .hero-visual {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: auto;
    padding-bottom: 48px;
  }

  .domain-chip {
    margin-top: 18px;
  }

  .hero h1 {
    font-size: clamp(46px, 15vw, 70px);
  }

  .hero-tagline {
    font-size: 26px;
  }

  .hero-panel {
    position: static;
    width: 100%;
    margin-top: 14px;
  }

  .hero-panel img {
    height: 62px;
  }
}

/* Clear image-led hero revision. */
.hero {
  min-height: 92vh;
  background:
    linear-gradient(90deg, rgba(248, 220, 228, 0.02) 0%, rgba(248, 220, 228, 0.22) 42%, rgba(248, 220, 228, 0.97) 64%, rgba(248, 220, 228, 1) 100%),
    url("../assets/kenan-tech-hero-clear.png") center / cover no-repeat;
}

[dir="rtl"] .hero {
  background:
    linear-gradient(90deg, rgba(248, 220, 228, 0.02) 0%, rgba(248, 220, 228, 0.22) 42%, rgba(248, 220, 228, 0.97) 64%, rgba(248, 220, 228, 1) 100%),
    url("../assets/kenan-tech-hero-clear.png") center / cover no-repeat;
}

[dir="ltr"] .hero {
  background:
    linear-gradient(90deg, rgba(248, 220, 228, 0.02) 0%, rgba(248, 220, 228, 0.22) 42%, rgba(248, 220, 228, 0.97) 64%, rgba(248, 220, 228, 1) 100%),
    url("../assets/kenan-tech-hero-clear.png") center / cover no-repeat;
}

.hero::before {
  background:
    radial-gradient(circle at 91% 13%, #071c5c 0 18px, transparent 19px),
    radial-gradient(circle at 54% 12%, rgba(209, 213, 219, 0.78) 0 54px, transparent 55px);
}

.hero-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.85fr);
  min-height: calc(92vh - 40px);
}

[dir="rtl"] .hero-copy,
[dir="ltr"] .hero-copy {
  grid-column: 2;
  justify-self: end;
}

[dir="rtl"] .hero-copy {
  text-align: end;
}

[dir="ltr"] .hero-copy {
  text-align: start;
}

.hero-copy {
  max-width: 500px;
  padding: 22px 0;
}

.hero-copy h1,
.hero-copy .hero-tagline,
.hero-copy p {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

@media (max-width: 1080px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(248, 220, 228, 0.18), rgba(248, 220, 228, 0.96) 48%, rgba(248, 220, 228, 0.98)),
      url("../assets/kenan-tech-hero-clear.png") left top / auto 58% no-repeat;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    align-content: end;
    min-height: 88vh;
  }

  [dir="rtl"] .hero-copy,
  [dir="ltr"] .hero-copy {
    grid-column: auto;
    justify-self: stretch;
  }

  .hero-copy {
    max-width: 760px;
    margin-top: 330px;
  }

  .hero-logo-tile {
    display: none;
  }
}

@media (max-width: 720px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(248, 220, 228, 0.08), rgba(248, 220, 228, 0.98) 40%),
      url("../assets/kenan-tech-hero-clear.png") left 92px / auto 310px no-repeat;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 300px;
  }

  .hero-copy {
    margin-top: 0;
  }
}

/* Visitor theme switcher. */
body,
.site-header,
.mobile-drawer,
.hero,
.section,
.section-soft,
.why-band,
.service-card,
.text-panel,
.mission-grid article,
.stat-card,
.process-step,
.testimonial-card,
.contact-form,
.contact-methods span,
.logo-cloud span,
.site-footer,
.primary-button,
.secondary-button,
.ghost-button,
.menu-button,
.theme-toggle,
.contact-form input,
.contact-form select,
.contact-form textarea,
.form-note {
  transition:
    background-color 0.28s ease,
    background 0.28s ease,
    color 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.theme-toggle {
  width: 42px;
  min-width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(7, 28, 92, 0.12);
  border-radius: var(--radius);
  cursor: pointer;
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(47, 99, 244, 0.22);
}

[data-theme="dark"] {
  --bg: #070a12;
  --surface: #101827;
  --surface-soft: #0b1220;
  --ink: #f7fbff;
  --muted: #a7b2c8;
  --line: rgba(163, 187, 219, 0.18);
  --dark: #f7fbff;
  --dark-2: #d9e8ff;
  --blue: #4f8cff;
  --violet: #9b6cff;
  --green: #36d6a6;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.44);
}

[data-theme="dark"] body {
  background:
    radial-gradient(circle at 18% 10%, rgba(79, 140, 255, 0.18), transparent 26%),
    radial-gradient(circle at 88% 16%, rgba(155, 108, 255, 0.16), transparent 24%),
    linear-gradient(180deg, #070a12 0%, #0a1020 44%, #080c16 100%);
  color: var(--ink);
}

[data-theme="dark"] .site-header {
  color: var(--ink);
  background: rgba(8, 12, 22, 0.78);
  border-color: rgba(178, 203, 255, 0.14);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
}

[data-theme="dark"] .brand img {
  background: #fff;
  border-color: rgba(178, 203, 255, 0.16);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

[data-theme="dark"] .brand strong,
[data-theme="dark"] .drawer-top {
  color: var(--ink);
}

[data-theme="dark"] .brand small,
[data-theme="dark"] .desktop-nav a,
[data-theme="dark"] .mobile-drawer a {
  color: rgba(231, 239, 255, 0.74);
}

[data-theme="dark"] .desktop-nav a:hover,
[data-theme="dark"] .mobile-drawer a:hover {
  color: #fff;
  background: rgba(79, 140, 255, 0.12);
}

[data-theme="dark"] .ghost-button,
[data-theme="dark"] .menu-button,
[data-theme="dark"] .theme-toggle {
  color: var(--ink);
  background: rgba(15, 23, 42, 0.76);
  border-color: rgba(178, 203, 255, 0.16);
}

[data-theme="dark"] .ghost-button:hover,
[data-theme="dark"] .menu-button:hover,
[data-theme="dark"] .theme-toggle:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  border-color: transparent;
}

[data-theme="dark"] .mobile-drawer {
  background: rgba(9, 14, 26, 0.96);
  border-color: rgba(178, 203, 255, 0.14);
}

[data-theme="dark"] .hero,
[data-theme="dark"][dir="rtl"] .hero,
[data-theme="dark"][dir="ltr"] .hero {
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(7, 10, 18, 0.26) 0%, rgba(7, 10, 18, 0.54) 42%, rgba(7, 10, 18, 0.94) 64%, #070a12 100%),
    url("../assets/kenan-tech-hero-clear.png") center / cover no-repeat;
}

[data-theme="dark"] .hero::before {
  background:
    radial-gradient(circle at 91% 13%, rgba(79, 140, 255, 0.95) 0 18px, transparent 19px),
    radial-gradient(circle at 54% 12%, rgba(148, 163, 184, 0.34) 0 54px, transparent 55px),
    radial-gradient(circle at 80% 80%, rgba(79, 140, 255, 0.18), transparent 28%);
}

[data-theme="dark"] .hero-copy h1,
[data-theme="dark"] .hero-copy .hero-tagline,
[data-theme="dark"] .hero-copy p {
  color: var(--ink);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.42);
}

[data-theme="dark"] .hero-copy p,
[data-theme="dark"] .section-heading p,
[data-theme="dark"] .about-copy p,
[data-theme="dark"] .contact-copy p,
[data-theme="dark"] .testimonial-card p {
  color: var(--muted);
}

[data-theme="dark"] .eyebrow,
[data-theme="dark"] .domain-chip,
[data-theme="dark"] .service-card small,
[data-theme="dark"] .stat-card small {
  color: #78a7ff;
}

[data-theme="dark"] .domain-bulb {
  color: #071c5c;
  background: #cce0ff;
}

[data-theme="dark"] .secondary-button {
  color: var(--ink);
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(178, 203, 255, 0.18);
}

[data-theme="dark"] .primary-button {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 18px 48px rgba(79, 140, 255, 0.28);
}

[data-theme="dark"] .section-soft,
[data-theme="dark"] .contact-section {
  background:
    radial-gradient(circle at 15% 15%, rgba(79, 140, 255, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(13, 20, 38, 0.78), rgba(8, 12, 22, 0.92));
}

[data-theme="dark"] .section-dark,
[data-theme="dark"] .why-band {
  background:
    radial-gradient(circle at 86% 18%, rgba(155, 108, 255, 0.16), transparent 26%),
    linear-gradient(135deg, #090f1d, #101827);
}

[data-theme="dark"] .service-card,
[data-theme="dark"] .text-panel,
[data-theme="dark"] .mission-grid article,
[data-theme="dark"] .stat-card,
[data-theme="dark"] .process-step,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .contact-form,
[data-theme="dark"] .contact-methods span,
[data-theme="dark"] .logo-cloud span {
  color: var(--ink);
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(178, 203, 255, 0.14);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.28);
}

[data-theme="dark"] .service-card:hover,
[data-theme="dark"] .process-step:hover,
[data-theme="dark"] .testimonial-card:hover {
  border-color: rgba(79, 140, 255, 0.38);
  box-shadow: 0 24px 70px rgba(47, 99, 244, 0.14);
}

[data-theme="dark"] .service-icon {
  color: #dbeafe;
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.24), rgba(54, 214, 166, 0.18));
}

[data-theme="dark"] .contact-form input,
[data-theme="dark"] .contact-form select,
[data-theme="dark"] .contact-form textarea,
[data-theme="dark"] .form-note {
  color: var(--ink);
  background: rgba(7, 10, 18, 0.58);
  border-color: rgba(178, 203, 255, 0.16);
}

[data-theme="dark"] .contact-form input::placeholder,
[data-theme="dark"] .contact-form textarea::placeholder {
  color: rgba(231, 239, 255, 0.5);
}

[data-theme="dark"] .site-footer {
  color: rgba(231, 239, 255, 0.72);
  background:
    radial-gradient(circle at 18% 8%, rgba(79, 140, 255, 0.18), transparent 24%),
    #070a12;
  border-top-color: rgba(178, 203, 255, 0.12);
}

[data-theme="dark"] .site-footer .brand strong,
[data-theme="dark"] .site-footer h3 {
  color: var(--ink);
}

[data-theme="dark"] .floating-whatsapp {
  box-shadow: 0 18px 44px rgba(38, 211, 162, 0.26);
}

@media (max-width: 1080px) {
  [data-theme="dark"] .hero {
    background:
      linear-gradient(180deg, rgba(7, 10, 18, 0.18), rgba(7, 10, 18, 0.9) 48%, #070a12),
      url("../assets/kenan-tech-hero-clear.png") left top / auto 58% no-repeat;
  }
}

@media (max-width: 720px) {
  .theme-toggle {
    width: 38px;
    min-width: 38px;
    height: 38px;
  }

  [data-theme="dark"] .hero {
    background:
      linear-gradient(180deg, rgba(7, 10, 18, 0.18), rgba(7, 10, 18, 0.94) 40%, #070a12),
      url("../assets/kenan-tech-hero-clear.png") left 92px / auto 310px no-repeat;
  }
}

/* Professional mobile pass. */
@media (max-width: 720px) {
  html,
  body {
    overflow-x: hidden;
  }

  body {
    font-size: 15px;
  }

  .container {
    width: min(100% - 28px, var(--max));
  }

  .site-header {
    top: 8px;
    width: calc(100% - 16px);
    min-height: 64px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 8px;
    border-radius: 12px;
  }

  .brand {
    max-width: 52vw;
    gap: 8px;
  }

  .brand img {
    height: 44px;
    padding: 4px;
    border-radius: 7px;
  }

  .brand strong {
    font-size: 15px;
    line-height: 1.1;
    white-space: nowrap;
  }

  .brand small {
    display: none;
  }

  .header-actions {
    grid-column: 2;
    gap: 6px;
  }

  .ghost-button,
  .menu-button,
  .theme-toggle {
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    border-radius: 9px;
  }

  .ghost-button {
    padding: 0 12px;
    font-size: 13px;
  }

  .menu-button svg,
  .theme-toggle svg {
    width: 19px;
    height: 19px;
  }

  .mobile-drawer {
    width: min(330px, 86vw);
    padding: 18px;
  }

  .mobile-drawer a {
    min-height: 44px;
    display: flex;
    align-items: center;
    font-size: 15px;
  }

  .hero,
  [dir="rtl"] .hero,
  [dir="ltr"] .hero {
    min-height: auto;
    padding: 0 0 34px;
    background:
      linear-gradient(180deg, rgba(248, 220, 228, 0.06) 0 255px, rgba(251, 240, 243, 0.72) 300px, rgba(251, 240, 243, 0.98) 360px, #fff7f9 100%),
      url("../assets/kenan-tech-hero-clear.png") left 82px / auto 318px no-repeat;
  }

  .hero::before {
    display: none;
  }

  .hero-grid {
    width: min(100% - 28px, var(--max));
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 372px;
    align-content: start;
  }

  [dir="rtl"] .hero-copy,
  [dir="ltr"] .hero-copy {
    grid-column: auto;
    justify-self: stretch;
    max-width: none;
    margin-top: 0;
    padding: 20px 18px 18px;
    border: 1px solid rgba(7, 28, 92, 0.08);
    border-radius: 16px;
    background: rgba(255, 247, 249, 0.94);
    box-shadow: 0 18px 48px rgba(7, 28, 92, 0.1);
    backdrop-filter: blur(16px);
  }

  [dir="rtl"] .hero-copy {
    text-align: right;
  }

  [dir="ltr"] .hero-copy {
    text-align: left;
  }

  .domain-chip {
    max-width: 100%;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 12px;
    line-height: 1.3;
    word-break: break-word;
  }

  .domain-bulb {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    font-size: 12px;
  }

  .eyebrow {
    margin-bottom: 8px;
    font-size: 13px;
  }

  .hero h1 {
    font-size: clamp(44px, 15vw, 62px);
    line-height: 0.98;
    letter-spacing: 0;
  }

  .hero-tagline {
    margin-top: 12px;
    font-size: 20px;
    line-height: 1.42;
  }

  .hero-copy p:not(.hero-tagline) {
    margin-top: 12px;
    font-size: 15.5px;
    line-height: 1.85;
  }

  .hero-copy h1,
  .hero-copy .hero-tagline,
  .hero-copy p {
    text-shadow: none;
  }

  .hero-actions {
    width: 100%;
    gap: 10px;
    margin-top: 18px;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
    min-height: 48px;
    padding: 10px 16px;
    font-size: 15px;
  }

  .section {
    padding: 54px 0;
  }

  .section-heading {
    margin-bottom: 26px;
  }

  .section-heading h2 {
    font-size: clamp(30px, 9vw, 40px);
    line-height: 1.15;
  }

  .service-card,
  .text-panel,
  .mission-grid article,
  .stat-card,
  .process-step,
  .testimonial-card,
  .contact-form {
    border-radius: 14px;
  }

  .floating-whatsapp {
    width: 56px;
    height: 56px;
    inset-inline-end: 18px;
    bottom: 18px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
  }

  .floating-whatsapp.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  [data-theme="dark"] .hero,
  [data-theme="dark"][dir="rtl"] .hero,
  [data-theme="dark"][dir="ltr"] .hero {
    background:
      linear-gradient(180deg, rgba(7, 10, 18, 0.08) 0 255px, rgba(7, 10, 18, 0.7) 302px, rgba(7, 10, 18, 0.96) 360px, #070a12 100%),
      url("../assets/kenan-tech-hero-clear.png") left 82px / auto 318px no-repeat;
  }

  [data-theme="dark"] .hero-copy {
    background: rgba(15, 23, 42, 0.88);
    border-color: rgba(178, 203, 255, 0.14);
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.32);
  }
}

@media (max-width: 380px) {
  .site-header {
    padding: 7px;
  }

  .brand {
    max-width: 42vw;
  }

  .brand strong {
    font-size: 14px;
  }

  .ghost-button {
    padding: 0 10px;
  }

  .hero,
  [dir="rtl"] .hero,
  [dir="ltr"] .hero {
    background:
      linear-gradient(180deg, rgba(248, 220, 228, 0.06) 0 238px, rgba(251, 240, 243, 0.82) 284px, rgba(251, 240, 243, 0.98) 330px, #fff7f9 100%),
      url("../assets/kenan-tech-hero-clear.png") left 80px / auto 286px no-repeat;
  }

  .hero-grid {
    padding-top: 342px;
  }

  [data-theme="dark"] .hero,
  [data-theme="dark"][dir="rtl"] .hero,
  [data-theme="dark"][dir="ltr"] .hero {
    background:
      linear-gradient(180deg, rgba(7, 10, 18, 0.08) 0 238px, rgba(7, 10, 18, 0.76) 284px, rgba(7, 10, 18, 0.96) 330px, #070a12 100%),
      url("../assets/kenan-tech-hero-clear.png") left 80px / auto 286px no-repeat;
  }
}

/* Public quotation PDF generator. */
.quote-loading {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: none;
  place-items: center;
  padding: 24px;
  color: #071c5c;
  background: rgba(248, 251, 255, 0.76);
  backdrop-filter: blur(12px);
}

.quote-loading.is-active {
  display: grid;
}

.quote-loading > div {
  width: min(360px, 100%);
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 26px;
  text-align: center;
  border: 1px solid rgba(7, 28, 92, 0.12);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(7, 28, 92, 0.18);
}

.quote-loading span {
  width: 44px;
  height: 44px;
  border: 4px solid #dbeafe;
  border-top-color: #2f63f4;
  border-radius: 50%;
  animation: quoteSpin 0.8s linear infinite;
}

.quote-loading strong {
  font-size: 19px;
}

.quote-loading small {
  color: #64748b;
}

@keyframes quoteSpin {
  to {
    transform: rotate(360deg);
  }
}

.public-quote-stage {
  position: fixed;
  inset-inline-start: -12000px;
  top: 0;
  width: 794px;
  pointer-events: none;
}

.pdf-render-host {
  position: fixed;
  z-index: 70;
  top: 0;
  left: 0;
  right: auto;
  width: 794px;
  height: 1123px;
  max-width: none;
  min-height: 0;
  direction: ltr;
  overflow: hidden;
  pointer-events: none;
  background: #fff;
  transform: none;
  contain: layout paint style;
}

.public-quote-document {
  width: 794px;
  height: 1123px;
  min-width: 794px;
  max-width: none;
  overflow: hidden;
  margin: 0;
  padding: 34px 48px;
  color: #0f172a;
  background: #fff;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  line-height: 1.42;
  transform: none;
  unicode-bidi: isolate;
}

.public-quote-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 3px solid #071c5c;
}

.public-quote-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  direction: ltr;
}

.public-quote-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  padding: 6px;
  border: 1px solid #dbeafe;
  border-radius: 10px;
}

.public-quote-brand strong,
.public-quote-brand span,
.public-quote-brand small {
  display: block;
}

.public-quote-brand strong {
  color: #071c5c;
  font-size: 20px;
  font-weight: 900;
}

.public-quote-brand span {
  color: #2f63f4;
  font-weight: 800;
}

.public-quote-brand small {
  color: #64748b;
  font-size: 11px;
}

.public-quote-qr {
  width: 62px;
  height: 62px;
  padding: 4px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.public-quote-title,
.public-client-area,
.public-quote-signature {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
}

.public-quote-title span {
  color: #2f63f4;
  font-size: 14px;
  font-weight: 900;
}

.public-quote-title h2 {
  margin: 3px 0 0;
  color: #071c5c;
  font-size: 28px;
  line-height: 1.15;
}

.public-quote-meta,
.public-client-card,
.public-client-logo,
.public-request-card,
.public-quote-terms {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fbfdff;
}

.public-quote-meta {
  min-width: 190px;
  padding: 10px;
}

.public-quote-meta p,
.public-client-card p,
.public-quote-terms p {
  margin: 4px 0;
}

.public-client-card,
.public-request-card,
.public-quote-terms {
  padding: 12px;
}

.public-client-card h3,
.public-request-card h3,
.public-quote-terms h3 {
  margin: 0 0 8px;
  color: #071c5c;
  font-size: 17px;
}

.public-client-logo {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  background: #fff;
}

.public-client-logo img {
  max-width: 82px;
  max-height: 82px;
  object-fit: contain;
}

.public-details-grid {
  display: block;
  margin-top: 14px;
}

.public-details-grid > * + * {
  margin-top: 12px;
}

.public-request-card table {
  width: 100%;
  border-collapse: collapse;
}

.public-request-card th,
.public-request-card td {
  padding: 8px;
  border: 1px solid #dbeafe;
  text-align: start;
  vertical-align: top;
}

.public-request-card th {
  width: 122px;
  color: #fff;
  background: #071c5c;
}

.public-request-card td {
  background: #fff;
}

.public-quote-terms p,
.public-request-card td,
.public-client-card p,
.public-quote-meta p {
  font-size: 13px;
}

.public-quote-signature {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
}

.public-quote-signature strong,
.public-quote-signature span {
  display: block;
}

.public-quote-signature strong {
  color: #071c5c;
}

.public-quote-signature span {
  color: #64748b;
  margin-top: 6px;
}

.public-quote-signature img {
  width: 92px;
  height: 92px;
  object-fit: contain;
}

@media print {
  .public-quote-stage {
    position: static;
    width: auto;
    opacity: 1;
  }

  .public-quote-document {
    width: 100%;
    min-height: auto;
  }
}
