:root {
  --heading-font: "Plus Jakarta Sans", system-ui, sans-serif;
  --body-font: "DM Sans", system-ui, sans-serif;
  --primary: #1B1F4D;
  --primary-2: #2A2F66;
  --accent: #FF5A36;
  --accent-soft: #FFE7E0;
  --highlight: #FFC542;
  --highlight-soft: #FFF3CC;
  --bg: #ffffff;
  --bg-soft: #F9F9F9;
  --bg-warm: #ffffff;
  --ink: #14163A;
  --ink-2: #5C5F84;
  --ink-3: #9094B3;
  --line: #E6E2F0;
  --white: #ffffff;
  --shadow-card: 0 20px 50px -20px rgba(20, 22, 58, 0.18);
  --shadow-soft: 0 10px 30px -12px rgba(20, 22, 58, 0.12);
  --shadow-deep: 0 30px 60px -25px rgba(20, 22, 58, 0.35);
}

* { box-sizing: border-box; }
html {
  margin: 0; padding: 0;
  overflow-x: hidden;
  max-width: 100%;
}
body {
  margin: 0; padding: 0;
  font-family: var(--body-font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

h1, h2, h3, h4, h5 {
  font-family: var(--heading-font);
  color: var(--ink);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

#accueil,
#services,
#projets,
#sur-nous,
#faq {
  scroll-margin-top: 110px;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===================== NAV ===================== */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease;
}
.nav-wrap.scrolled {
  border-bottom-color: #ebebeb;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.logo {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.03em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.logo-mark {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--primary);
  position: relative;
  display: inline-block;
}
.logo-mark::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 2.5px solid var(--accent);
  border-right-color: transparent;
  transform: rotate(35deg);
}
.logo-mark::after {
  content: "";
  position: absolute;
  width: 6px; height: 6px;
  background: var(--highlight);
  border-radius: 50%;
  right: 5px; bottom: 5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #f3f3f3;
  border-radius: 999px;
  padding: 6px 8px;
}
.nav-link {
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 500;
  color: #333;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 14px;
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.nav-link { text-decoration: none; }
.nav-link:hover { background: #e8e8e8; color: #000; }
.nav-link--active { background: var(--primary); color: #fff !important; }
.nav-link--active:hover { background: var(--primary); }
.nav-link .chev { width: 10px; height: 10px; opacity: .5; transition: transform .2s ease; }
.nav-link:hover .chev { transform: translateY(1px); }

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: -16px;
  background: var(--white);
  border-radius: 14px;
  padding: 10px;
  min-width: 200px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease;
}
.nav-link:hover .dropdown,
.nav-link:focus-within .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
}
.dropdown a:hover { background: var(--bg-soft); color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: none;
}
.btn-primary:hover { background: #2A2F66; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.mobile-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  border: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .15s;
}
.mobile-toggle:hover { background: #2e3470; }
.mobile-toggle svg { color: #fff; }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, #fff 35%, #fff 100%);
  overflow: hidden;
  padding: 60px 0 120px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
  min-height: 620px;
}
.eyebrow {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 15px;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.hero h1 .underline-word {
  position: relative;
  display: inline-block;
}
.hero h1 .underline-word::after {
  content: "";
  position: absolute;
  left: 2%;
  right: -2%;
  bottom: -4px;
  height: 14px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 14' preserveAspectRatio='none'><path d='M2 9 C 60 0, 140 0, 218 8' stroke='%23FFC542' stroke-width='5' fill='none' stroke-linecap='round'/></svg>") no-repeat center / 100% 100%;
}
.hero p.lead {
  margin-top: 22px;
  font-size: 17px;
  color: var(--ink-2);
  max-width: 460px;
}
.hero-cta {
  margin-top: 36px;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--heading-font);
  font-weight: 600;
  color: var(--ink);
  font-size: 15px;
}
.phone-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--highlight);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  box-shadow: 0 8px 20px -8px rgba(255, 197, 66, 0.7);
}
.whatsapp-icon {
  background: #25D366;
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(37, 211, 102, 0.7);
}

/* Hero visual (right) */
.hero-visual {
  position: relative;
  height: 620px;
}
.blob-yellow {
  position: absolute;
  width: 380px; height: 380px;
  background: var(--highlight);
  border-radius: 50% 50% 45% 55% / 55% 50% 50% 45%;
  top: 60px; left: 60px;
  z-index: 1;
  filter: drop-shadow(0 20px 40px rgba(255, 197, 66, 0.35));
}
.blob-pink {
  position: absolute;
  width: 280px; height: 280px;
  background: #FFC9C0;
  opacity: .55;
  border-radius: 50% 45% 55% 50% / 45% 55% 50% 55%;
  top: 200px; right: 30px;
  z-index: 1;
}
.rings {
  position: absolute;
  width: 540px; height: 540px;
  border-radius: 50%;
  border: 1.5px dashed rgba(27, 31, 77, 0.12);
  top: 30px; left: 0;
  z-index: 1;
}
.rings::before, .rings::after {
  content: "";
  position: absolute;
  inset: 60px;
  border-radius: 50%;
  border: 1.5px dashed rgba(27, 31, 77, 0.10);
}
.rings::after { inset: 130px; border-color: rgba(27, 31, 77, 0.08); }

.hero-photo {
  position: absolute;
  z-index: 3;
  width: 460px;
  height: 580px;
  left: 50%;
  top: 20px;
  transform: translateX(-48%);
  border-radius: 24px;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.float-card {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 12px 18px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  animation: floaty 5s ease-in-out infinite;
}
.float-card .ic {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.float-strategies {
  top: 70px;
  left: 6%;
  animation-delay: 0s;
}
.float-strategies .trend {
  width: 36px; height: 18px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent) 50%, transparent 50%);
  margin-left: 6px;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 18'><path d='M2 16 L12 8 L20 12 L32 2' stroke='black' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/><path d='M28 2 L34 2 L34 8' stroke='black' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 18'><path d='M2 16 L12 8 L20 12 L32 2' stroke='black' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/><path d='M28 2 L34 2 L34 8' stroke='black' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / contain;
  background: var(--accent);
}

.contact-card {
  position: absolute;
  right: -10px;
  top: 80px;
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  padding: 18px 20px;
  z-index: 5;
  width: 230px;
  animation: floaty 6s ease-in-out infinite reverse;
}
.contact-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  position: relative;
}
.avatar::after {
  content: "";
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #2BD477;
  border: 2px solid #fff;
  right: -1px; bottom: -1px;
}
.contact-name {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
}
.contact-email {
  font-size: 12px;
  color: var(--ink-3);
}
.contact-actions {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-btn {
  flex: 1;
  background: #E8F1FF;
  border-radius: 12px;
  padding: 8px 6px;
  text-align: center;
  font-size: 11px;
  color: var(--ink-2);
  font-family: var(--heading-font);
  font-weight: 600;
}
.contact-btn .badge {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  color: #fff;
}
.contact-btn.video .badge { background: #2E7CFF; }
.contact-btn.audio .badge { background: #00B97A; }
.contact-team {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.contact-team .av {
  width: 28px; height: 28px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 2px solid #fff;
  margin-left: -8px;
}
.contact-team .av:first-child { margin-left: 0; }
.contact-team .more {
  background: var(--accent);
  color: #fff;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.stat-card {
  position: absolute;
  background: #fff;
  border-radius: 18px;
  padding: 14px 18px;
  box-shadow: var(--shadow-card);
  z-index: 4;
  bottom: 80px;
  left: 18%;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  animation: floaty 5.5s ease-in-out infinite .5s;
}
.donut {
  width: 54px; height: 54px;
  border-radius: 50%;
  background:
    conic-gradient(#2E7CFF 0% 35%, #00B97A 35% 65%, #FFC542 65% 90%, var(--accent) 90% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.donut::after {
  content: "";
  position: absolute;
  inset: 6px;
  background: #fff;
  border-radius: 50%;
}
.donut span {
  position: relative;
  z-index: 2;
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 13px;
  color: var(--primary);
}
.stat-card-text {
  font-family: var(--heading-font);
}
.stat-card-text .lbl { font-size: 11px; color: var(--ink-3); font-weight: 500; }
.stat-card-text .val { font-size: 13px; font-weight: 700; color: var(--ink); margin-top: 2px; }

.rocket-circle {
  position: absolute;
  width: 70px; height: 70px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  bottom: 60px;
  right: 30px;
  z-index: 4;
  color: #fff;
  box-shadow: 0 14px 30px -8px rgba(255, 90, 54, 0.55);
  animation: floaty 4.5s ease-in-out infinite 1s;
}

.dot {
  position: absolute;
  border-radius: 50%;
}
.dot.d1 { width: 8px; height: 8px; background: var(--primary); top: 14%; left: 8%; }
.dot.d2 { width: 6px; height: 6px; background: var(--accent); top: 50%; left: 4%; }
.dot.d3 { width: 8px; height: 8px; background: #2E7CFF; top: 70%; left: 28%; }
.dot.d4 { width: 6px; height: 6px; background: var(--ink-3); top: 12%; left: 38%; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* big circle behind hero left */
.hero::before {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  top: -80px;
  left: -120px;
  z-index: 1;
}

/* ===================== SERVICES ===================== */
.services {
  background: var(--bg);
  padding: 90px 0 60px;
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: center;
}
.services h2 {
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.15;
}
.services .sub {
  margin-top: 18px;
  color: var(--ink-2);
  font-size: 16px;
}
.cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: 22px;
  padding: 30px 28px;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.service-card.shift-up { transform: translateY(-30px); }
.service-card.shift-up:hover { transform: translateY(-36px); }
.service-icon {
  width: 60px; height: 60px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.service-icon.warm { background: #FFF1E6; color: var(--accent); }
.service-icon.cool { background: #E9F0FF; color: #2E7CFF; }
.service-card h3 {
  font-size: 20px;
  line-height: 1.3;
}
.service-card p {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 14.5px;
}
.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 14px;
  color: var(--accent);
}
.learn-more .arr {
  width: 22px; height: 1.5px;
  background: var(--accent);
  position: relative;
  transition: width .2s ease;
}
.learn-more:hover .arr { width: 30px; }

/* ===================== TECH STACK ===================== */
.tech-stack {
  margin-top: 64px;
  text-align: center;
}
.tech-stack-label {
  font-family: var(--heading-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  margin-bottom: 32px;
}
.tech-stack-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: #f5f5f5;
  border-radius: 22px;
  padding: 24px 20px 18px;
  width: 130px;
  transition: transform .2s ease, box-shadow .2s ease;
  cursor: default;
}
.tech-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}
.tech-item-dark {
  background: #1B1F4D;
}
.tech-logo {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tech-name {
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.tech-item-dark .tech-name {
  color: #fff;
}
.tech-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  text-align: center;
  line-height: 1.5;
  white-space: pre-line;
}

/* ===================== PARTNERS ===================== */
.partners {
  background: var(--bg);
  padding: 30px 0 90px;
  text-align: center;
}
.partners .label {
  color: var(--ink-2);
  font-size: 15px;
  margin-bottom: 30px;
  font-family: var(--heading-font);
}
.partners .label strong { color: var(--ink); font-weight: 700; }
.partners-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.partner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--heading-font);
  color: var(--ink-2);
  opacity: .85;
  transition: opacity .2s ease, transform .2s ease;
}
.partner:hover { opacity: 1; transform: translateY(-2px); }
.partner .pmark {
  width: 30px; height: 30px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.partner .pname {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.partner .pname .accent { color: var(--accent); }
.partner .ptag {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--ink-3);
  letter-spacing: 0.1em;
  font-weight: 600;
}
.partner-stack { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }

/* ===================== DASHBOARD ===================== */
.dashboard {
  background: var(--bg);
  padding: 80px 0;
}
.dash-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.dash-visual {
  position: relative;
  height: 540px;
}
.dash-blob {
  position: absolute;
  width: 460px; height: 480px;
  background: #F2D7B6;
  border-radius: 60% 50% 50% 55% / 60% 55% 50% 55%;
  top: 30px;
  left: 20px;
  z-index: 1;
}
.dash-photo {
  position: absolute;
  width: 380px; height: 480px;
  border-radius: 24px;
  z-index: 2;
  top: 30px;
  left: 70px;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.heart-pill {
  position: absolute;
  width: 70px; height: 70px;
  border-radius: 24px;
  background: #FF3B7C;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 3;
  left: 20px;
  top: 200px;
  box-shadow: 0 18px 30px -10px rgba(255, 59, 124, 0.5);
}
.dash-orange-dot {
  position: absolute;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  top: 50px; right: 80px;
  z-index: 2;
}
.stats-card {
  position: absolute;
  bottom: 30px;
  left: 80px;
  width: 360px;
  background: #14163A;
  border-radius: 18px;
  padding: 18px 20px;
  z-index: 4;
  color: #fff;
  box-shadow: var(--shadow-deep);
}
.stats-card h4 {
  color: #fff;
  font-size: 15px;
}
.stats-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.stats-row .av {
  width: 36px; height: 36px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
}
.stats-pair {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}
.stats-pair b {
  color: #fff;
  font-family: var(--heading-font);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.stats-pair b.up { color: #2BD477; }
.stats-pair b.down { color: #FF6B6B; }
.stats-bot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
}
.stats-mini {
  width: 38px; height: 38px;
  border-radius: 50%;
  background:
    conic-gradient(#2BD477 0% 70%, rgba(255,255,255,0.15) 70% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.stats-mini::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: #14163A;
  border-radius: 50%;
}
.stats-mini span {
  position: relative;
  z-index: 2;
  font-size: 10px;
  font-family: var(--heading-font);
  font-weight: 700;
}
.stats-bot .right {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  flex: 1;
  margin-left: 12px;
}
.stats-bot .right b { color: #fff; font-size: 16px; font-family: var(--heading-font); }

.dash-text h2 {
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.15;
}
.dash-text p.lead {
  margin-top: 20px;
  color: var(--ink-2);
  font-size: 16px;
}
.bullets { margin-top: 30px; display: flex; flex-direction: column; gap: 22px; }
.bullet { display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.bullet .check {
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.bullet h4 {
  font-size: 17px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.bullet h4 .u { border-bottom: 2px solid var(--highlight); padding-bottom: 1px; }
.bullet p { color: var(--ink-2); margin-top: 6px; font-size: 14.5px; }
.new-badge {
  background: #C8102E;
  color: #fff;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

/* ===================== FEATURES ===================== */
.features {
  background: var(--bg-warm);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.features::before {
  content: "";
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(255, 197, 66, 0.18);
  top: -80px; right: -60px;
}
.section-eyebrow {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 14px;
  color: var(--accent);
  text-align: center;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.section-title {
  text-align: center;
  font-size: clamp(30px, 3vw, 44px);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.2;
}
.section-sub {
  text-align: center;
  color: var(--ink-2);
  margin: 18px auto 0;
  max-width: 580px;
}
.feature-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  background: #fff;
  border-radius: 22px;
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease;
}
.feature:hover { transform: translateY(-6px); }
.feature-num {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0.1em;
}
.feature h3 {
  margin-top: 14px;
  font-size: 20px;
  line-height: 1.3;
}
.feature p {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 14.5px;
}
.feature .ic-square {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.feature .ic-square.warm { background: var(--accent-soft); color: var(--accent); }
.feature .ic-square.cool { background: #E9F0FF; color: #2E7CFF; }
.feature .ic-square.ylw { background: var(--highlight-soft); color: #B27D00; }

/* ===================== ABOUT ===================== */
.about-section { padding: 100px 0; }

.about-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 72px;
}
@media (max-width: 860px) {
  .about-top { grid-template-columns: 1fr; gap: 40px; }
}

.about-photo-wrap {
  position: relative;
}
.about-photo {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  height: 420px;
  display: block;
  box-shadow: var(--shadow-card);
}
.about-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: #fff;
  border-radius: 18px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--line);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
}
@media (max-width: 700px) {
  .about-stats { grid-template-columns: repeat(2, 1fr); }
}
.about-stat {
  background: #fff;
  padding: 32px 24px;
  text-align: center;
}
.about-stat-num {
  font-family: var(--heading-font);
  font-size: 42px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.about-stat-label {
  color: var(--ink-2);
  font-size: 14px;
  margin-top: 8px;
  font-weight: 500;
}

.about-domains {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 860px) {
  .about-domains { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .about-domains { grid-template-columns: 1fr; }
}
.about-domain {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
  transition: box-shadow .25s ease, transform .25s ease;
}
.about-domain:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}
.about-domain-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.about-domain h4 {
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}
.about-domain p {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* ===================== PORTFOLIO ===================== */
.portfolio-section {
  padding: 100px 0;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .portfolio-grid { grid-template-columns: 1fr; }
}
.portfolio-card {
  text-decoration: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}
.portfolio-preview {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #f4f4f8;
}
.portfolio-preview iframe {
  width: 1440px;
  height: 900px;
  border: none;
  transform: scale(0.278);
  transform-origin: top left;
  pointer-events: none;
  user-select: none;
}
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27,31,77,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s ease;
}
.portfolio-card:hover .portfolio-overlay {
  background: rgba(27,31,77,0.55);
}
.portfolio-visit {
  color: #fff;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 15px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
}
.portfolio-card:hover .portfolio-visit {
  opacity: 1;
  transform: translateY(0);
}
.portfolio-info {
  padding: 16px 20px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.portfolio-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.portfolio-name {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}
.portfolio-desc {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.55;
  margin-top: 4px;
}

/* ===================== TESTIMONIALS ===================== */
.testi {
  background: var(--bg);
  padding: 100px 0;
}
.testi-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: #fff;
  border-radius: 22px;
  padding: 30px 28px;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease;
  display: flex;
  flex-direction: column;
}
.testi-card:hover { transform: translateY(-4px); }
.stars { color: var(--highlight); display: inline-flex; gap: 3px; margin-bottom: 18px; font-size: 18px; }
.testi-card p.quote { color: var(--ink); font-size: 15px; line-height: 1.6; }
.testi-author {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi-author .av {
  width: 44px; height: 44px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
}
.testi-author .who { font-family: var(--heading-font); font-weight: 700; font-size: 14px; }
.testi-author .role { font-size: 12px; color: var(--ink-3); }

/* ===================== FAQ ===================== */
.faq {
  background: var(--bg);
  padding: 0 0 100px;
}
.faq-wrap {
  max-width: 820px;
  margin: 60px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: #fff;
  border-radius: 18px;
  padding: 22px 26px;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: box-shadow .2s ease;
}
.faq-item:hover { box-shadow: var(--shadow-card); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
}
.faq-toggle {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .2s ease, background .2s ease;
}
.faq-item.open .faq-toggle { background: var(--accent); color: #fff; transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, margin-top .25s ease;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.6;
}
.faq-item.open .faq-a {
  max-height: 320px;
  margin-top: 14px;
}

/* ===================== CTA ===================== */
.cta {
  position: relative;
  padding: 90px 0;
  background: var(--bg);
  overflow: hidden;
}
.cta-card {
  position: relative;
  background: var(--primary);
  color: #fff;
  border-radius: 30px;
  padding: 70px 60px;
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-deep);
}
.cta-card::before, .cta-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: .25;
}
.cta-card::before {
  width: 320px; height: 320px;
  background: var(--accent);
  top: -120px; left: -60px;
}
.cta-card::after {
  width: 260px; height: 260px;
  background: var(--highlight);
  bottom: -100px; right: -40px;
}
.cta-card h2 {
  color: #fff;
  font-size: clamp(28px, 3vw, 42px);
  position: relative;
  z-index: 2;
}
.cta-card p {
  color: rgba(255,255,255,0.75);
  margin-top: 18px;
  position: relative;
  z-index: 2;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.cta-card .cta-actions {
  margin-top: 30px;
  position: relative;
  z-index: 2;
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 24px -10px rgba(255, 90, 54, 0.6);
}
.btn-accent:hover { transform: translateY(-2px); }
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.06); }

/* ===================== FOOTER ===================== */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 50px;
}
.footer h5 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 18px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: 14px; transition: color .15s ease; }
.footer ul a:hover { color: #fff; }
.footer .logo { color: #fff; }
.footer .desc { color: rgba(255,255,255,0.55); margin-top: 18px; font-size: 14px; max-width: 280px; line-height: 1.7; }
.footer .socials { display: flex; gap: 10px; margin-top: 22px; }
.footer .soc {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background .2s ease, transform .2s ease;
}
.footer .soc:hover { background: var(--accent); transform: translateY(-2px); }
.newsletter {
  display: flex;
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  padding: 6px;
  margin-top: 18px;
}
.newsletter input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  padding: 10px 16px;
  font-family: inherit;
  font-size: 14px;
}
.newsletter input::placeholder { color: rgba(255,255,255,0.45); }
.newsletter button {
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  padding: 10px 18px;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 14px;
}
.footer-bottom {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* ===================== CHAT WIDGET ===================== */
.chat-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

/* ── FAB ── */
.chat-fab {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 32px rgba(27,31,77,0.38), 0 2px 8px rgba(27,31,77,0.18);
  transition: transform .22s cubic-bezier(.34,1.56,.64,1), box-shadow .2s ease;
  position: relative;
  padding: 0;
}
.chat-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 40px rgba(27,31,77,0.48), 0 2px 8px rgba(27,31,77,0.2);
}
.chat-fab-notif {
  position: absolute;
  top: 2px; right: 2px;
  min-width: 20px; height: 20px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2.5px solid #fff;
  animation: notif-pop .4s cubic-bezier(.34,1.56,.64,1);
}
@keyframes notif-pop {
  from { transform: scale(0); }
  to   { transform: scale(1); }
}

/* ── WhatsApp floating button ── */
.chat-bubble-wa {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  border-radius: 22px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
  animation: hint-in .45s cubic-bezier(.34,1.56,.64,1);
  transition: transform .15s, box-shadow .15s;
}
.chat-bubble-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37,211,102,0.45);
  color: #fff;
}
.chat-bubble-wa svg { flex-shrink: 0; }

/* ── Hint bubble ── */
.chat-bubble-hint {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border-radius: 22px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 8px 28px rgba(27,31,77,0.13), 0 1px 4px rgba(27,31,77,0.08);
  white-space: nowrap;
  cursor: pointer;
  border: 1.5px solid rgba(27,31,77,0.07);
  animation: hint-in .45s cubic-bezier(.34,1.56,.64,1);
  transition: transform .15s, box-shadow .15s;
}
.chat-bubble-hint:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(27,31,77,0.18);
}
.chat-bubble-hint svg { color: var(--accent); flex-shrink: 0; }
@keyframes hint-in {
  from { opacity: 0; transform: translateX(12px) scale(.95); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

/* ── Window ── */
.chat-window {
  width: 360px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 28px 70px rgba(27,31,77,0.22), 0 4px 16px rgba(27,31,77,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: chat-in .32s cubic-bezier(.34,1.2,.64,1);
  border: 1px solid rgba(27,31,77,0.08);
  max-height: 580px;
}
@keyframes chat-in {
  from { opacity: 0; transform: translateY(20px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Header ── */
.chat-header {
  background: linear-gradient(135deg, var(--primary) 0%, #2e3470 100%);
  padding: 16px 18px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.chat-header-left { display: flex; align-items: center; gap: 12px; }
.chat-header-actions { display: flex; align-items: center; gap: 6px; }

.chat-avatar-wrap { position: relative; flex-shrink: 0; }
.chat-agent-photo {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid rgba(255,255,255,0.35);
  display: block;
}
.chat-online-dot {
  position: absolute;
  bottom: 1px; right: 1px;
  width: 12px; height: 12px;
  background: #22c55e;
  border-radius: 50%;
  border: 2.5px solid #2e3470;
}

.chat-agent-name  { color: #fff; font-weight: 700; font-size: 14px; line-height: 1.3; }
.chat-agent-role  { color: rgba(255,255,255,0.5); font-size: 11px; margin-top: 1px; }
.chat-agent-status {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,0.72);
  font-size: 11.5px;
  margin-top: 3px;
}
.chat-status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(34,197,94,0.3);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  50%       { box-shadow: 0 0 0 4px rgba(34,197,94,0.15); }
}

.chat-icon-btn {
  background: rgba(255,255,255,0.12);
  border: none;
  color: rgba(255,255,255,0.8);
  width: 30px; height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
}
.chat-icon-btn:hover { background: rgba(255,255,255,0.22); color: #fff; }

.chat-close {
  background: rgba(255,255,255,0.12);
  border: none;
  color: rgba(255,255,255,0.8);
  width: 30px; height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
}
.chat-close:hover { background: rgba(255,255,255,0.25); color: #fff; }

/* ── Progress bar ── */
.chat-progress-bar {
  height: 3px;
  background: rgba(27,31,77,0.08);
  flex-shrink: 0;
}
.chat-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--highlight));
  transition: width .5s ease;
  border-radius: 0 2px 2px 0;
}

/* ── Messages area ── */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #F6F7FB;
  scrollbar-width: thin;
  scrollbar-color: rgba(27,31,77,0.15) transparent;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: rgba(27,31,77,0.15); border-radius: 4px; }

.chat-msg-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  animation: msg-in .28s ease;
}
@keyframes msg-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.chat-msg { display: flex; align-items: flex-end; gap: 8px; }
.chat-msg.user { flex-direction: row-reverse; }
.chat-msg-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex-shrink: 0; margin-bottom: 2px; }

.chat-msg-inner { display: flex; flex-direction: column; gap: 3px; max-width: 240px; }
.chat-msg.user .chat-msg-inner { align-items: flex-end; }

.chat-msg-bubble {
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 13.5px;
  line-height: 1.55;
  white-space: pre-line;
}
.chat-msg.agent .chat-msg-bubble {
  background: #fff;
  color: var(--ink);
  border-bottom-left-radius: 5px;
  box-shadow: 0 2px 10px rgba(27,31,77,0.08);
}
.chat-msg.user .chat-msg-bubble {
  background: var(--primary);
  color: #fff;
  border-bottom-right-radius: 5px;
}
.chat-msg-time {
  font-size: 10.5px;
  color: #9CA3AF;
  padding: 0 4px;
}

/* ── Choices ── */
.chat-choices {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
  padding: 2px 4px 8px 40px;
  animation: msg-in .28s ease;
}
.chat-choice-btn {
  background: #fff;
  border: 1.5px solid var(--primary);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 12.5px;
  font-family: inherit;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  transition: background .15s, color .15s;
}
.chat-choice-btn:hover {
  background: var(--primary);
  color: #fff;
}
.chat-choice-btn:active { opacity: 0.85; }

/* ── WhatsApp CTA ── */
.chat-wa-wrap {
  padding: 4px 4px 8px 40px;
  animation: msg-in .28s ease;
}
.chat-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  transition: background .15s, transform .12s;
}
.chat-wa-btn:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
}

/* ── Typing indicator ── */
.chat-typing {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 12px 16px !important;
  min-width: 54px;
}
.chat-typing span {
  width: 7px; height: 7px;
  background: #C4C9D4;
  border-radius: 50%;
  display: inline-block;
  animation: dot-bounce 1.2s infinite ease-in-out;
}
.chat-typing span:nth-child(2) { animation-delay: .2s; }
.chat-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes dot-bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: .5; }
  40% { transform: translateY(-6px); opacity: 1; }
}

/* ── Input ── */
.chat-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid rgba(27,31,77,0.07);
  background: #fff;
  flex-shrink: 0;
}
.chat-input {
  flex: 1;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
  background: #F6F7FB;
  transition: border-color .15s, background .15s;
  color: var(--ink);
}
.chat-input:focus {
  border-color: var(--primary);
  background: #fff;
}
.chat-input::placeholder { color: #B5BBC6; }
.chat-send {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .15s, transform .12s, opacity .15s;
}
.chat-send:hover:not(:disabled) { background: #242860; transform: scale(1.06); }
.chat-send:disabled { opacity: 0.45; cursor: default; }

/* ── Footer ── */
.chat-footer {
  text-align: center;
  font-size: 11px;
  color: #B5BBC6;
  padding: 6px 0 8px;
  border-top: 1px solid rgba(27,31,77,0.05);
  background: #fff;
  flex-shrink: 0;
}
.chat-footer strong { color: var(--primary); }

/* ===================== LEGAL MODALS ===================== */
.legal-backdrop { z-index: 10000; }
.legal-box {
  max-width: 660px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}
.legal-header {
  padding: 32px 36px 20px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.legal-header h3 {
  font-size: 22px;
  margin: 6px 0 0;
  color: var(--ink);
}
.legal-body {
  padding: 28px 36px 36px;
  overflow-y: auto;
  flex: 1;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-2);
}
.legal-body h4 {
  font-family: var(--heading-font);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--primary);
  margin: 24px 0 8px;
}
.legal-body h4:first-child { margin-top: 0; }
.legal-body p { margin: 0 0 6px; }
.legal-body a { color: var(--accent); text-decoration: underline; }

@media (max-width: 600px) {
  .legal-box { max-height: 92vh; border-radius: 20px 20px 0 0; margin-top: auto; }
  .legal-header, .legal-body { padding-left: 22px; padding-right: 22px; }
}

/* ===================== COOKIE BANNER ===================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10001;
  width: calc(100% - 48px);
  max-width: 680px;
  animation: cookie-in .45s cubic-bezier(.34,1.2,.64,1);
}
@keyframes cookie-in {
  from { opacity: 0; transform: translateX(-50%) translateY(32px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.cookie-inner {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(27,31,77,0.2), 0 2px 8px rgba(27,31,77,0.1);
  border: 1px solid rgba(27,31,77,0.07);
  overflow: hidden;
}
.cookie-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 20px 0;
}
.cookie-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.cookie-text { flex: 1; }
.cookie-text strong { display: block; font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.cookie-text p { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; margin: 0; }
.cookie-close {
  background: none; border: none; cursor: pointer;
  color: var(--ink-2); font-size: 16px; padding: 4px; flex-shrink: 0;
  line-height: 1;
  transition: color .15s;
}
.cookie-close:hover { color: var(--ink); }

/* Preferences */
.cookie-prefs {
  margin: 16px 20px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.cookie-pref-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  gap: 12px;
}
.cookie-pref-row + .cookie-pref-row { border-top: 1px solid var(--line); }
.cookie-pref-row > div:first-child strong { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.cookie-pref-row > div:first-child span { font-size: 12px; color: var(--ink-2); }
.always-on { font-size: 11px; font-weight: 700; color: #22c55e; text-transform: uppercase; letter-spacing: .04em; }

/* Toggle switch */
.cookie-toggle-wrap { position: relative; display: inline-flex; cursor: pointer; }
.cookie-toggle-wrap input { position: absolute; opacity: 0; width: 0; height: 0; }
.cookie-toggle-track {
  display: block;
  width: 40px; height: 22px;
  border-radius: 11px;
  background: #d1d5db;
  transition: background .2s;
  position: relative;
}
.cookie-toggle-track::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  transition: transform .2s;
}
.cookie-toggle-wrap input:checked + .cookie-toggle-track { background: var(--primary); }
.cookie-toggle-wrap input:checked + .cookie-toggle-track::after { transform: translateX(18px); }

/* Buttons */
.cookie-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-btn {
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: background .15s, color .15s;
}
.cookie-btn-outline {
  background: transparent;
  color: var(--ink-2);
  border: 1.5px solid var(--line);
}
.cookie-btn-outline:hover { background: var(--bg-soft); color: var(--ink); }
.cookie-btn-secondary {
  background: var(--bg-soft);
  color: var(--ink);
}
.cookie-btn-secondary:hover { background: #e2e8f0; }
.cookie-btn-primary {
  background: var(--primary);
  color: #fff;
}
.cookie-btn-primary:hover { background: #2e3470; }

@media (max-width: 520px) {
  .cookie-banner { bottom: 0; left: 0; right: 0; width: 100%; transform: none; border-radius: 0; }
  .cookie-inner { border-radius: 20px 20px 0 0; }
  .cookie-actions { justify-content: stretch; }
  .cookie-btn { flex: 1; text-align: center; }
}

/* ── Chat: Mobile ── */
@media (max-width: 520px) {
  .chat-widget {
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    gap: 0;
    align-items: center;
  }

  /* Closed state: WA + hint centred above FAB */
  .chat-bubble-wa,
  .chat-bubble-hint {
    margin-bottom: 10px;
  }

  /* FAB stays bottom-right on mobile when chat is CLOSED */
  .chat-fab {
    position: fixed;
    bottom: 20px;
    right: 20px;
  }
  /* Hide FAB when chat is open — the header already has close/restart buttons */
  .chat-widget:has(.chat-window) .chat-fab {
    display: none;
  }

  /* Chat window = full-width bottom sheet */
  .chat-window {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100dvh - 56px);
    border-radius: 20px 20px 0 0;
    animation: chat-in-mobile .32s cubic-bezier(.34,1.2,.64,1);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  @keyframes chat-in-mobile {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* Larger touch targets for buttons inside chat */
  .chat-icon-btn {
    width: 36px;
    height: 36px;
  }
  .chat-choice-btn {
    font-size: 14px;
    padding: 11px 16px;
  }
  .chat-send {
    width: 46px;
    height: 46px;
  }
  .chat-input {
    font-size: 16px; /* prevents iOS zoom on focus */
  }

  /* Slightly taller messages area on mobile */
  .chat-messages {
    min-height: 0;
    flex: 1;
  }
}


/* ===================== INTRO SCREEN ===================== */
.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity .6s ease, transform .6s cubic-bezier(.4,0,.2,1);
}
.intro-exit {
  opacity: 0;
  transform: scale(1.02);
  pointer-events: none;
}

.intro-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  z-index: 2;
  position: relative;
}

/* Logo */
.intro-logo-wrap {
  animation: intro-logo-in .8s cubic-bezier(.34,1.4,.64,1) both;
}
.intro-logo {
  height: 72px;
  filter: none;
}
@keyframes intro-logo-in {
  from { opacity: 0; transform: scale(.7) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Tagline */
.intro-tagline {
  color: var(--ink-2);
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  animation: intro-fade-in .7s .4s ease both;
}
@keyframes intro-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Progress bar */
.intro-bar-track {
  width: 160px;
  height: 2px;
  background: rgba(27,31,77,0.1);
  border-radius: 99px;
  overflow: hidden;
  animation: intro-fade-in .5s .6s ease both;
}
.intro-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--highlight));
  border-radius: 99px;
  animation: intro-bar-grow 2s .4s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes intro-bar-grow {
  from { width: 0%; }
  to   { width: 100%; }
}

/* Background orbs */
.intro-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.intro-orb-1 {
  width: 600px; height: 600px;
  top: -180px; right: -180px;
  background: radial-gradient(circle, rgba(255,90,54,.07) 0%, transparent 70%);
  animation: intro-orb-drift 4s ease-in-out infinite alternate;
}
.intro-orb-2 {
  width: 500px; height: 500px;
  bottom: -160px; left: -160px;
  background: radial-gradient(circle, rgba(255,197,66,.07) 0%, transparent 70%);
  animation: intro-orb-drift 5s 1s ease-in-out infinite alternate;
}
@keyframes intro-orb-drift {
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.1) translate(20px, -20px); }
}

/* ===================== Reveal Animation ===================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: .1s; }
.reveal.delay-2 { transition-delay: .2s; }
.reveal.delay-3 { transition-delay: .3s; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .mobile-toggle { display: inline-flex; }
  .nav-cta-btn { display: none; }
  .hero-grid, .services-grid, .dash-grid, .footer-grid { grid-template-columns: 1fr; }
  .feature-grid, .testi-grid, .cards-row { grid-template-columns: 1fr; }
  .hero-visual, .dash-visual { height: 520px; }
  .service-card.shift-up { transform: translateY(0); }
  .cta-card { padding: 50px 28px; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 34px; }
  .hero h1 .underline-word::after { bottom: -10px; }
  .container { padding: 0 16px; }
  * { max-width: 100%; }
  img, video, iframe, svg { max-width: 100%; }
  .nav { padding: 12px 0; }
  .nav-wrap { box-shadow: 0 1px 0 #ebebeb; }
  .hero-photo { width: 100%; transform: translateX(-50%); }
  .contact-card { right: 0; width: 200px; }
  .stat-card { left: 0; }
  .stats-card { width: 92%; left: 4%; }
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(20, 22, 58, 0.6);
  backdrop-filter: blur(6px);
  z-index: 100;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.mobile-drawer.open { opacity: 1; pointer-events: auto; }
.mobile-drawer-inner {
  width: 80%;
  max-width: 340px;
  background: #fff;
  height: 100%;
  padding: 30px;
  transform: translateX(100%);
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mobile-drawer.open .mobile-drawer-inner { transform: translateX(0); }
.mobile-drawer a {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  border-radius: 14px;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  width: 100%;
  box-sizing: border-box;
  border-bottom: none;
}
.mobile-drawer a:hover { background: #f3f3f3; }
.mobile-drawer a.nav-link--active {
  background: var(--primary);
  color: #fff;
}

/* ===================== CONTACT MODAL ===================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-box {
  background: #fff;
  border-radius: 24px;
  width: 100%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background .2s ease;
}
.modal-close:hover {
  background: #e2e8f0;
}
.modal-body {
  padding: 40px 32px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
}
.modal-sup {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.modal-body h3 {
  font-size: 24px;
  margin-bottom: 8px;
  color: var(--ink);
}
.modal-desc {
  color: var(--ink-2);
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.5;
}
.modal-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.modal-opt {
  background: #fff;
  border: 2px solid var(--bg-soft);
  padding: 16px 20px;
  border-radius: 12px;
  text-align: left;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: all .2s ease;
}
.modal-opt:hover {
  border-color: var(--accent);
  background: rgba(255, 94, 62, 0.03);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.modal-form input, .modal-form textarea {
  width: 100%;
  background: var(--bg-soft);
  border: 2px solid transparent;
  padding: 14px 18px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: all .2s ease;
  outline: none;
}
.modal-form input:focus, .modal-form textarea:focus {
  border-color: var(--accent);
  background: #fff;
}
.modal-error {
  color: #b42318;
  background: #fef3f2;
  border: 1px solid #fecdca;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.4;
}
.modal-form button[disabled] {
  opacity: 0.72;
  cursor: not-allowed;
}
.popup-anim {
  animation: popupSlide .4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes popupSlide {
  from { opacity: 0; transform: translateY(15px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
