/* =========================================================
   Paaisoft — Design System
========================================================= */
:root {
  --navy: #071B49;
  --navy-2: #0B2A66;
  --blue: #1769FF;
  --cyan: #19C8E8;
  --white: #FFFFFF;
  --bg-light: #F4F8FF;

  --ink: #0B1730;
  --ink-soft: #47536B;
  --ink-faint: #7C8AA5;
  --border: #E4EAF7;

  --purple: #7C5CFF;
  --pink: #FF5C9E;
  --green: #17C978;
  --orange: #FF9A3D;

  --grad-brand: linear-gradient(135deg, var(--blue), var(--cyan));
  --grad-navy: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, #0E3A8F 100%);

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --shadow-sm: 0 2px 10px rgba(7, 27, 73, 0.06);
  --shadow-md: 0 12px 32px rgba(7, 27, 73, 0.10);
  --shadow-lg: 0 24px 60px rgba(7, 27, 73, 0.16);

  --font-head: 'Poppins', 'Manrope', sans-serif;
  --font-body: 'Manrope', 'Inter', sans-serif;

  --header-h: 80px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 .6em;
  color: var(--navy);
}

p {
  margin: 0 0 1em;
  color: var(--ink-soft);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: .75rem 1.25rem;
  z-index: 999;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 96px 0;
}

@media(max-width:768px) {
  section {
    padding: 64px 0;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(23, 105, 255, 0.08);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
}

.section-head p {
  font-size: 1.08rem;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  padding: 14px 26px;
  border-radius: 12px;
  border: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px) scale(.98);
}

.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 10px 24px rgba(23, 105, 255, 0.28);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.45) 48%, transparent 66%);
  transform: translateX(-120%);
}

.btn-primary:hover::before {
  transform: translateX(120%);
  transition: transform .7s ease;
}

.btn-primary:hover {
  box-shadow: 0 14px 36px rgba(25, 200, 232, 0.45);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-white {
  background: #fff;
  color: var(--navy);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost-white {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost-white:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-sm {
  padding: 10px 18px;
  font-size: .9rem;
}

.btn-block {
  width: 100%;
}

.btn[disabled] {
  opacity: .6;
  cursor: not-allowed;
  transform: none !important;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(7, 27, 73, 0.02);
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}

.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-brand);
}

.site-header.scrolled {
  box-shadow: 0 8px 28px rgba(7, 27, 73, 0.09);
  border-bottom-color: rgba(7, 27, 73, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  transition: height .25s ease;
  position: relative;
}

.site-header.scrolled .header-inner {
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy);
  transition: filter .2s;
}

.logo-mark {
  width: auto;
  height: 36px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 12px rgba(23, 105, 255, 0.35));
  transition: transform .3s ease, filter .3s ease;
}

.logo:hover .logo-mark {
  transform: rotate(-4deg) scale(1.05);
  filter: drop-shadow(0 6px 18px rgba(25, 200, 232, 0.5));
}

.logo-word {
  letter-spacing: -.01em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav a {
  position: relative;
  padding: 10px 16px;
  border-radius: 9px;
  font-weight: 600;
  font-size: .94rem;
  color: var(--ink-soft);
  transition: background .18s ease, color .18s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s ease;
}

.main-nav a:hover {
  color: var(--navy);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.main-nav a.active {
  color: var(--navy);
  font-weight: 700;
}

.main-nav a.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-left: 16px;
  position: relative;
}

.header-actions::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 26px;
  background: var(--border);
}

@media(max-width:920px) {
  .header-actions::before {
    display: none;
  }
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}

.hamburger span {
  width: 18px;
  height: 2px;
  background: var(--navy);
  margin: 0 auto;
  transition: transform .2s, opacity .2s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 12px 24px 24px;
  background: #fff;
  border-top: 1px solid var(--border);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  padding: 14px 6px;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  color: var(--navy);
}

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

  .hamburger {
    display: flex;
  }

  #header-cta {
    display: none;
  }
}

@media(min-width:921px) {
  .mobile-nav.open {
    display: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--grad-navy);
  padding: 120px 0 100px;
  color: #fff;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(25, 200, 232, 0.25), transparent 45%),
    radial-gradient(circle at 85% 10%, rgba(23, 105, 255, 0.35), transparent 40%),
    radial-gradient(circle at 90% 85%, rgba(124, 92, 255, 0.18), transparent 40%);
  pointer-events: none;
}

.hero::after,
.page-hero::after,
.cta-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 40%, transparent 90%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 40%, transparent 90%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

@media(max-width:960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  letter-spacing: -.02em;
  margin-bottom: .5em;
}

.hero .lede {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.15rem;
  max-width: 560px;
}

@media(max-width:960px) {
  .hero .lede {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

@media(max-width:960px) {
  .hero-ctas {
    justify-content: center;
  }
}

.hero-badges {
  display: flex;
  gap: 22px;
  margin-top: 44px;
  flex-wrap: wrap;
}

@media(max-width:960px) {
  .hero-badges {
    justify-content: center;
  }
}

.hero-badges div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: .88rem;
  font-weight: 600;
}

.hero-badges span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(25, 200, 232, 0.6);
  animation: pulseDot 2.2s ease-out infinite;
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(25, 200, 232, 0.55);
  }

  70% {
    box-shadow: 0 0 0 7px rgba(25, 200, 232, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(25, 200, 232, 0);
  }
}

/* Hero visual */
.hero-visual {
  position: relative;
  z-index: 1;
}

.flow-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 14px 16px;
  animation: floatIn .6s ease both;
}

.flow-step .ico {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.flow-step .txt strong {
  display: block;
  color: #fff;
  font-size: .95rem;
  font-family: var(--font-head);
}

.flow-step .txt span {
  color: rgba(255, 255, 255, 0.6);
  font-size: .8rem;
}

.flow-arrow {
  align-self: center;
  color: var(--cyan);
  font-size: 1.1rem;
  margin: -4px 0;
  padding-left: 20px;
}

.flow-step:nth-child(1) .ico {
  background: rgba(255, 255, 255, 0.12);
}

.flow-step:nth-child(3) .ico {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.flow-step:nth-child(5) .ico {
  background: linear-gradient(135deg, var(--pink), var(--purple));
}

.flow-step:nth-child(7) .ico {
  background: linear-gradient(135deg, var(--orange), var(--pink));
}

.flow-step:nth-child(9) .ico {
  background: linear-gradient(135deg, var(--cyan), var(--green));
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Value strip ---------- */
.value-strip {
  background: var(--bg-light);
  padding: 56px 0;
}

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

@media(max-width:960px) {
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.value-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  font-weight: 700;
  font-size: .92rem;
  color: var(--navy);
}

.value-item .check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  flex-shrink: 0;
}

/* ---------- Cards / Services ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media(max-width:960px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #fff;
  transition: box-shadow .25s ease, transform .25s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 0 0 6px rgba(23, 105, 255, 0.12), 0 10px 24px rgba(23, 105, 255, 0.35);
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: .5em;
}

.service-card p {
  flex: 1;
}

.service-card .card-link {
  font-weight: 700;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: .94rem;
  transition: gap .2s;
}

.service-card .card-link:hover {
  gap: 10px;
}

.icon-blue {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.icon-purple {
  background: linear-gradient(135deg, var(--purple), #a78bfa);
}

.icon-pink {
  background: linear-gradient(135deg, var(--pink), #ff8fb8);
}

.icon-green {
  background: linear-gradient(135deg, var(--green), #5ee6a6);
}

.icon-orange {
  background: linear-gradient(135deg, var(--orange), #ffc078);
}

.icon-navy {
  background: var(--grad-navy);
}

.center-cta {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* ---------- Why us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

@media(max-width:960px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.why-card {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  text-align: left;
  border: 1px solid transparent;
  transition: border-color .2s, background .2s;
}

.why-card:hover {
  border-color: var(--blue);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.why-card .num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.6rem;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--blue);
  opacity: .4;
  margin-bottom: 10px;
}

.why-card h3 {
  font-size: 1.05rem;
}

.why-card p {
  font-size: .92rem;
  margin: 0;
}

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

@media(max-width:900px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.process-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
}

.process-card .step-no {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.4rem;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}

.process-card h3 {
  font-size: 1.1rem;
  letter-spacing: .02em;
}

.process-line {
  position: absolute;
  top: 44px;
  left: 100%;
  width: 24px;
  height: 2px;
  background: var(--border);
}

@media(max-width:900px) {
  .process-line {
    display: none;
  }
}

/* ---------- Pricing (home teaser + full page) ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media(max-width:960px) {
  .price-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.price-teaser-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}

.price-teaser-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.price-teaser-card h4 {
  font-size: .98rem;
  color: var(--ink-soft);
  font-weight: 700;
  margin-bottom: 10px;
}

.price-teaser-card .amt {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.55rem;
  color: var(--navy);
}

.price-teaser-card .amt span {
  font-size: .95rem;
  color: var(--ink-faint);
  font-weight: 600;
}

.pkg-card {
  position: relative;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}

.pkg-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pkg-card.popular {
  border-color: var(--blue);
  box-shadow: 0 20px 50px rgba(23, 105, 255, 0.18);
}

.pkg-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-brand);
  color: #fff;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 6px 16px;
  border-radius: 999px;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 8px 16px rgba(23, 105, 255, 0.3);
}

.pkg-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink-soft);
  letter-spacing: .03em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.pkg-price {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.1rem;
  color: var(--navy);
  margin-bottom: 20px;
}

.pkg-price small {
  font-size: 1rem;
  color: var(--ink-faint);
  font-weight: 600;
}

.pkg-features {
  margin: 0 0 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.pkg-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .94rem;
  color: var(--ink-soft);
}

.pkg-features li::before {
  content: '✓';
  color: var(--green);
  font-weight: 800;
  flex-shrink: 0;
}

.pricing-group {
  margin-bottom: 80px;
}

.pricing-group-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.pricing-group-head .ic {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.pricing-group-head h2 {
  margin: 0;
  font-size: 1.5rem;
}

.pricing-group-head p {
  margin: 0;
  font-size: .94rem;
}

.disclaimer-box {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  font-size: .9rem;
  color: var(--ink-soft);
}

.disclaimer-box p:last-child {
  margin-bottom: 0;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--grad-navy);
  color: #fff;
  text-align: center;
  border-radius: 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(25, 200, 232, 0.25), transparent 60%);
}

.cta-band .container {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 1.08rem;
}

.cta-band-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Timeline / About ---------- */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

@media(max-width:900px) {
  .approach-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.approach-item {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 28px 20px;
}

.approach-item .arrow {
  color: var(--blue);
  font-weight: 800;
  font-size: 1.4rem;
  margin-top: 8px;
}

.team-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;}
@media(max-width:900px){.team-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:560px){.team-grid{grid-template-columns:1fr;}}

.team-card{
  background:var(--bg-light);border-radius:var(--radius-lg);padding:32px 26px;text-align:center;
  transition:transform .25s ease, box-shadow .25s ease;
}
.team-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);}
.team-photo{
  width:110px;height:110px;border-radius:50%;object-fit:cover;margin:0 auto 18px;
  box-shadow:var(--shadow-md);
}
.team-photo-fallback{
  background:var(--grad-navy);display:flex;align-items:center;justify-content:center;
  color:rgba(255,255,255,0.6);font-size:2rem;
}
.team-card h3{margin-bottom:2px;font-size:1.1rem;}
.team-card .role{color:var(--blue);font-weight:700;font-size:.88rem;margin-bottom:10px;}
.team-card p{font-size:.9rem;margin-bottom:14px;}
.team-social{display:flex;gap:10px;justify-content:center;}
.team-social a{
  width:34px;height:34px;border-radius:50%;background:#fff;border:1px solid var(--border);
  display:flex;align-items:center;justify-content:center;color:var(--ink-soft);font-size:.85rem;
  transition:background .2s,color .2s,transform .2s;
}
.team-social a:hover{background:var(--grad-brand);color:#fff;border-color:transparent;transform:translateY(-2px);}

/* ---------- Portfolio ---------- */
.filter-bar {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: #fff;
  font-weight: 700;
  font-size: .9rem;
  color: var(--ink-soft);
  transition: all .2s;
}

.filter-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.filter-btn.active {
  background: var(--grad-brand);
  border-color: transparent;
  color: #fff;
}

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

@media(max-width:960px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.portfolio-thumb {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  position: relative;
  overflow: hidden;
}

.portfolio-thumb span {
  position: relative;
  z-index: 1;
  opacity: .85;
  font-size: .85rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.portfolio-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.25), transparent 60%);
}

.portfolio-body {
  padding: 22px 22px 24px;
}

.portfolio-cat {
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
  display: block;
}

.portfolio-body h3 {
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.portfolio-body p {
  font-size: .9rem;
  margin-bottom: 14px;
}

.portfolio-body .card-link {
  font-weight: 700;
  color: var(--blue);
  font-size: .9rem;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}

.faq-q .plus {
  font-size: 1.3rem;
  color: var(--blue);
  transition: transform .25s;
  flex-shrink: 0;
}

.faq-item.open .plus {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.faq-a-inner {
  padding: 0 24px 22px;
  color: var(--ink-soft);
  font-size: .95rem;
}

.faq-item.open .faq-a {
  max-height: 240px;
}

/* ---------- Service detail sections ---------- */
.service-detail {
  border-top: 1px solid var(--border);
  padding: 80px 0;
}

.service-detail:nth-child(even) {
  background: var(--bg-light);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

@media(max-width:900px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
  }
}

.service-detail-grid.reverse .sd-visual {
  order: -1;
}

@media(max-width:900px) {
  .service-detail-grid.reverse .sd-visual {
    order: 0;
  }
}

.sd-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.sd-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  margin: 24px 0 30px;
}

@media(max-width:520px) {
  .sd-features {
    grid-template-columns: 1fr;
  }
}

.sd-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .94rem;
  color: var(--ink-soft);
}

.sd-features li::before {
  content: '✓';
  color: var(--green);
  font-weight: 800;
  flex-shrink: 0;
}

.sd-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.sd-visual::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 6% 8%;
  background: var(--grad-brand);
  filter: blur(48px);
  opacity: .35;
  border-radius: 50%;
  transform: translateY(4%);
}

.sd-visual img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s ease;
}

.sd-visual:hover img {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 30px 70px rgba(7, 27, 73, 0.22);
}

.sd-visual-fallback {
  width: 100%;
  aspect-ratio: 3/2;
  border-radius: var(--radius-lg);
  background: var(--grad-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 3rem;
  box-shadow: var(--shadow-lg);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 48px;
  align-items: start;
}

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

.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.contact-info-card {
  background: var(--grad-navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
}

.contact-info-card h3 {
  color: #fff;
}

.contact-method {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-method:last-of-type {
  border-bottom: none;
}

.contact-method .ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-method strong {
  display: block;
  color: #fff;
  font-size: .92rem;
}

.contact-method span,
.contact-method a {
  color: rgba(255, 255, 255, 0.75);
  font-size: .92rem;
}

.contact-map {
  margin-top: 56px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  position: relative;
  padding-bottom: 38%;
  height: 0;
}

.contact-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media(max-width:700px) {
  .contact-map {
    padding-bottom: 75%;
  }
}

/* ---------- Forms (page-embedded, same look as modal) ---------- */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media(max-width:560px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  font-weight: 700;
  font-size: .88rem;
  color: var(--navy);
  margin-bottom: 7px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  font-family: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(23, 105, 255, 0.12);
  outline: none;
}

.form-field.error input,
.form-field.error select,
.form-field.error textarea {
  border-color: var(--pink);
}

.field-error {
  display: block;
  color: var(--pink);
  font-size: .8rem;
  margin-top: 5px;
  min-height: 1em;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  color: var(--ink-soft);
  margin: 6px 0 4px;
  cursor: pointer;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--blue);
  flex-shrink: 0;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-banner {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 600;
  margin: 6px 0 16px;
}

.form-banner.error {
  background: rgba(255, 92, 158, 0.1);
  color: #c81762;
  border: 1px solid rgba(255, 92, 158, 0.3);
}

.form-banner.info {
  background: rgba(23, 105, 255, 0.08);
  color: var(--blue);
  border: 1px solid rgba(23, 105, 255, 0.2);
}

.btn.is-loading {
  opacity: .75;
  pointer-events: none;
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 27, 73, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  overflow-y: auto;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 640px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(16px);
  transition: transform .25s ease;
  margin: auto;
}

.modal-overlay.open .modal {
  transform: translateY(0);
}

@media(max-width:600px) {
  .modal {
    padding: 28px 20px;
  }
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg-light);
  color: var(--navy);
  font-size: 1.3rem;
  line-height: 1;
}

.modal-sub {
  margin-bottom: 24px;
}

.enquiry-success {
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  font-size: 3.4rem;
  margin-bottom: 10px;
}

.success-sub {
  color: var(--ink-faint);
  font-size: .92rem;
}

.success-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* ---------- Legal pages ---------- */
.legal-content h2 {
  margin-top: 1.6em;
  font-size: 1.3rem;
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
}

.legal-content ul {
  margin: 0 0 1em 1.2em;
  list-style: disc;
}

.legal-updated {
  color: var(--ink-faint);
  font-size: .88rem;
  margin-bottom: 2em;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--grad-navy);
  color: #fff;
  padding: 88px 0 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(25, 200, 232, 0.2), transparent 45%), radial-gradient(circle at 80% 0%, rgba(23, 105, 255, 0.3), transparent 40%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.08rem;
}

.not-found-hero {
  padding: 120px 0 130px;
}

.not-found-code {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1;
  font-size: clamp(5rem, 14vw, 9rem);
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
  letter-spacing: -.02em;
}

.not-found-hero h1 {
  margin-bottom: 14px;
}

.not-found-hero p {
  margin: 0 auto;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--grad-navy);
  color: rgba(255, 255, 255, 0.72);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 2;
  background: var(--grad-brand);
}

.site-footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 0%, rgba(25, 200, 232, 0.14), transparent 40%),
    radial-gradient(circle at 90% 100%, rgba(23, 105, 255, 0.18), transparent 45%);
  pointer-events: none;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}

@media(max-width:960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

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

.footer-brand .logo {
  color: #fff;
  margin-bottom: 14px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: .94rem;
  max-width: 280px;
  margin-bottom: 22px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 700;
  color: #fff;
  transition: background .2s, transform .2s, border-color .2s;
}

.footer-social a:hover {
  background: var(--grad-brand);
  border-color: transparent;
  transform: translateY(-3px);
}

.footer-col h4 {
  position: relative;
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 22px;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col a {
  display: flex;
  align-items: center;
  gap: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: .92rem;
  padding: 7px 0;
  transition: color .2s ease, padding-left .2s ease;
  width: fit-content;
}

.footer-col a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--cyan);
  margin-right: 0;
  transition: width .2s ease, margin-right .2s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-col a:hover::before {
  width: 10px;
  margin-right: 8px;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0;
  font-size: .85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  transition: color .2s ease;
}

.footer-bottom-links a:hover {
  color: #fff;
}

.footer-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.footer-to-top {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}

.footer-to-top:hover {
  background: var(--grad-brand);
  border-color: transparent;
  transform: translateY(-3px);
}

@media(max-width:640px) {
  .footer-bottom-inner {
    justify-content: center;
    text-align: center;
  }
}

/* ---------- Swiper (testimonials) ---------- */
.testimonial-swiper .swiper-slide {
  height: auto;
  display: flex;
}

.testimonial-swiper .swiper-pagination-bullet {
  background: var(--border);
  opacity: 1;
  width: 9px;
  height: 9px;
}

.testimonial-swiper .swiper-pagination-bullet-active {
  background: var(--grad-brand);
  width: 22px;
  border-radius: 5px;
}

/* ---------- Page loader ---------- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--grad-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
}

.page-loader::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(25, 200, 232, 0.2), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(23, 105, 255, 0.25), transparent 45%);
  pointer-events: none;
}

.page-loader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.loader-logo {
  width: 64px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: loaderPulse 1.4s ease-in-out infinite;
}

.loader-logo img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(25, 200, 232, 0.45));
}

@keyframes loaderPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

.loader-word {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: .04em;
  color: #fff;
  opacity: .9;
}

.loader-bar {
  position: relative;
  width: 150px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
  margin-top: 6px;
}

.loader-bar span {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 40%;
  border-radius: 3px;
  background: var(--grad-brand);
  animation: loaderSlide 1.1s ease-in-out infinite;
}

@keyframes loaderSlide {
  0% {
    left: -40%;
  }

  100% {
    left: 100%;
  }
}

@media(prefers-reduced-motion:reduce) {

  .loader-logo,
  .loader-bar span {
    animation: none;
  }
}

/* ---------- Live Chat Widget ---------- */
.chat-widget-launcher {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 480;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  background: var(--grad-brand);
  color: #fff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(23, 105, 255, 0.4);
  transition: transform .2s ease, box-shadow .2s ease;
}

.chat-widget-launcher:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 16px 34px rgba(23, 105, 255, 0.5);
}

.chat-widget-launcher[hidden] {
  display: none;
}

.chat-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 490;
  width: 360px;
  max-width: calc(100vw - 32px);
  height: 520px;
  max-height: calc(100vh - 48px);
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: chatPop .25s ease;
}

.chat-widget[hidden] {
  display: none;
}

@keyframes chatPop {
  from {
    opacity: 0;
    transform: translateY(16px) scale(.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.chat-widget-header {
  background: var(--grad-navy);
  color: #fff;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-shrink: 0;
}

.chat-widget-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-widget-title img {
  width: 30px;
  height: auto;
}

.chat-widget-title strong {
  display: block;
  font-size: .92rem;
  font-family: var(--font-head);
}

.chat-widget-title span {
  display: block;
  font-size: .72rem;
  color: rgba(255, 255, 255, 0.65);
}

.chat-widget-close {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.chat-widget-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.chat-start-form .chat-intro {
  font-size: .85rem;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.chat-start-form .form-field {
  margin-bottom: 14px;
}

.chat-start-form label {
  display: block;
  font-weight: 700;
  font-size: .8rem;
  color: var(--navy);
  margin-bottom: 5px;
}

.chat-start-form input,
.chat-start-form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 9px;
  border: 1.5px solid var(--border);
  font-size: .87rem;
  font-family: inherit;
  resize: vertical;
}

.chat-start-form input:focus,
.chat-start-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(23, 105, 255, 0.12);
}

.chat-thread-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.chat-thread-messages {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-msg {
  max-width: 80%;
  padding: 9px 13px;
  border-radius: 14px;
  font-size: .86rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

.chat-msg.visitor {
  align-self: flex-end;
  background: var(--grad-brand);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat-msg.admin {
  align-self: flex-start;
  background: var(--bg-light);
  color: var(--ink);
  border-bottom-left-radius: 4px;
}

.chat-msg .chat-msg-time {
  display: block;
  font-size: .66rem;
  margin-top: 4px;
  opacity: .7;
}

.chat-closed-note {
  text-align: center;
  font-size: .78rem;
  color: var(--ink-faint);
  background: var(--bg-light);
  border: 1px dashed var(--border);
  border-radius: 9px;
  padding: 9px;
  margin-top: 10px;
}

.chat-widget-input {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.chat-widget-input[hidden] {
  display: none;
}

.chat-widget-input input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  font-size: .86rem;
  font-family: inherit;
}

.chat-widget-input input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(23, 105, 255, 0.12);
}

.chat-widget-input button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--grad-brand);
  color: #fff;
  flex-shrink: 0;
}

@media(max-width:480px) {
  .chat-widget {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
    height: 70vh;
  }

  .chat-widget-launcher {
    right: 16px;
    bottom: 16px;
  }
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Misc ---------- */
.two-col-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.mt-lg {
  margin-top: 64px;
}

.text-center {
  text-align: center;
}

.bg-light {
  background: var(--bg-light);
}

@media(prefers-reduced-motion:reduce) {
  * {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}