/* ==========================================================
   Idirfa Tech — Design System
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Color */
  --bg: #FAF8F5;
  --bg-soft: #F5F3F3;
  --bg-white: #FFFFFF;
  --bg-dark: #111111;
  --bg-dark-card: #1C1C1C;
  --ink: #1B1C1C;
  --ink-soft: #75716B;
  --ink-faint: #9A9690;
  --ink-on-dark: #FFFFFF;
  --ink-on-dark-soft: #9E9E9E;
  --accent: #F47D31;
  --accent-soft: #FEEFE6;
  --border: #EAE5DE;
  --border-dark: #2A2A2A;
  --white: #FFFFFF;

  /* Type */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Spacing scale */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: 7rem;

  /* Layout */
  --max-width: 1240px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-card: 0 20px 50px rgba(14, 14, 14, 0.08);
  --shadow-soft: 0 8px 24px rgba(14, 14, 14, 0.05);
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

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

button { font-family: inherit; cursor: pointer; border: none; background: none; }

ul { list-style: none; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* Visible keyboard focus */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.75rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; font-weight: 600; }

p { max-width: 62ch; }

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.section {
  padding: var(--space-7) 0;
}

@media (max-width: 768px) {
  .section { padding: var(--space-5) 0; }
  .container { padding: 0 var(--space-3); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(14, 14, 14, 0.2);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255, 90, 31, 0.3);
}

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

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

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 16px;
  z-index: 100;
  background: transparent;
  padding: 0 var(--space-3);
}

.navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo .dot { color: var(--accent); }

.logo-img {
  height: 34px;
  width: auto;
  display: block;
}

.footer-logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--ink); }

.nav-right { display: flex; align-items: center; gap: var(--space-3); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
}

/* Mega menu (Pages dropdown) */
.has-mega { position: relative; }

.mega-menu {
  position: absolute;
  top: calc(100% + 1.5rem);
  left: 50%;
  transform: translateX(-50%);
  width: 560px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: var(--space-3);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-menu a {
  display: block;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.mega-menu a:hover {
  background: var(--bg-soft);
  color: var(--ink);
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .mega-menu { position: static; transform: none; width: 100%; grid-template-columns: 1fr; }
}

/* ---------- Pill badge (hero eyebrow) ---------- */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--bg-white);
  box-shadow: var(--shadow-soft);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.pill-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  50% { opacity: 0.4; }
}

/* Wavy underline accent on hero keyword */
.wavy-accent {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-style: wavy;
  text-decoration-color: rgba(244, 125, 49, 0.35);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* ---------- Scalloped wave divider ---------- */
.scallop-divider {
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.scallop-divider svg { display: block; width: 100%; height: 28px; }

.scallop-to-dark { color: var(--bg-dark); }
.scallop-to-light { color: var(--bg); }

/* ---------- Hero ---------- */
.hero {
  padding: var(--space-6) 0 var(--space-7);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-5);
  align-items: center;
}

.hero-eyebrow-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 500;
}

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

.hero-actions {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-4);
  flex-wrap: wrap;
}

.hero h1 { max-width: 12ch; }

.hero-sub {
  margin-top: var(--space-3);
  font-size: 1.1rem;
  max-width: 46ch;
}

/* ---------- Product mockup card (hero visual) ---------- */
.mockup-wrap {
  position: relative;
}

.mockup-orb {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--accent-soft), transparent 70%);
  right: -60px;
  top: -40px;
  z-index: 0;
}

.mockup-card {
  position: relative;
  z-index: 1;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--space-3);
  transform: rotate(-1.5deg);
}

.mockup-dots {
  display: flex;
  gap: 6px;
  margin-bottom: var(--space-2);
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-dots span:nth-child(1) { background: #FFB84D; }
.mockup-dots span:nth-child(2) { background: #6FCF97; }
.mockup-dots span:nth-child(3) { background: #FF6B6B; }

.mockup-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: var(--space-2);
  background: var(--bg-soft);
  padding: 0.3rem;
  border-radius: var(--radius-pill);
}

.mockup-tab {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  background: transparent;
  color: var(--ink-soft);
  transition: all 0.2s ease;
}

.mockup-tab.active {
  background: var(--bg-white);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  font-weight: 700;
}

.mockup-panel { display: none; }
.mockup-panel.active { display: flex; flex-direction: column; gap: var(--space-3); }

.mockup-body {
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-3);
}

.mockup-message {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  max-width: 85%;
}

.mockup-input {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  color: var(--ink-faint);
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .mockup-orb { display: none; }
  .mockup-card { transform: none; }
}

/* ---------- Dark contrast section (core services) ---------- */
.section-dark {
  background: var(--bg-dark);
  color: var(--ink-on-dark-soft);
}

.section-dark .section-head {
  text-align: left;
  max-width: 1020px;
  margin: 0 0 var(--space-6) 0;
}

.section-dark .section-head h2 {
  color: var(--ink-on-dark);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.25;
  font-weight: 700;
}

.section-dark .section-head h2 .dim {
  color: var(--ink-on-dark-soft);
  font-weight: 700;
}

.section-dark .section-head p {
  margin: var(--space-2) 0 0;
  color: var(--ink-on-dark-soft);
  max-width: 60ch;
}

.dark-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--space-3);
}

.dark-card {
  background: var(--bg-white);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}

.dark-card:hover { transform: translateY(-6px); }

.dark-card .icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: var(--space-4);
}

.dark-card .icon-circle svg { width: 28px; height: 28px; }

.dark-card h3 { margin-bottom: var(--space-3); font-size: 1.35rem; }
.dark-card p { font-size: 0.95rem; line-height: 1.65; color: var(--ink-soft); margin-bottom: var(--space-3); }

.dark-card .try-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
}

.dark-card .try-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.dark-card:hover .try-link svg { transform: translateX(4px); }
.dark-card:hover .try-link { color: var(--accent); }

.section-head {
  max-width: 680px;
  margin-bottom: var(--space-5);
}

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Service cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--space-3);
}

.service-card {
  position: relative;
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  background: var(--white);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.service-card .icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2);
  color: var(--accent);
}

.service-card .icon svg { width: 100%; height: 100%; }

.service-card h3 { margin-bottom: 0.5rem; }

.service-card p { font-size: 0.95rem; }

.service-card a.link {
  display: inline-block;
  margin-top: var(--space-2);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1.5px solid var(--accent);
}

/* ---------- Auto-advancing carousel (services) ---------- */
.auto-carousel { overflow: hidden; }

.auto-track {
  display: flex;
  gap: var(--space-3);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.auto-track > * {
  flex: 0 0 calc(25% - (var(--space-3) * 3 / 4));
  min-width: 0;
}

@media (max-width: 1024px) {
  .auto-track > * { flex: 0 0 calc(50% - (var(--space-3) / 2)); }
}

@media (max-width: 640px) {
  .auto-track > * { flex: 0 0 100%; }
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: var(--space-4);
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transition: background 0.2s ease, width 0.2s ease;
  padding: 0;
}

.carousel-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: var(--radius-pill);
}

/* Light-canvas variant of dots (for portfolio section on light bg) */
.carousel-dots.on-light .carousel-dot { background: var(--border); }
.carousel-dots.on-light .carousel-dot.active { background: var(--accent); }

/* ---------- Portfolio horizontal auto-scroll ---------- */
.portfolio-scroll {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
}

.portfolio-track {
  display: flex;
  gap: var(--space-3);
  width: max-content;
  padding: 0 var(--space-4);
}

.portfolio-track.playing {
  animation: portfolioScroll 32s linear infinite;
}

.portfolio-scroll:hover .portfolio-track.playing {
  animation-play-state: paused;
}

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

.portfolio-card {
  position: relative;
  width: 360px;
  flex-shrink: 0;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.portfolio-card .thumb {
  width: 100%;
  height: 220px;
  background: var(--bg-soft);
  overflow: hidden;
}

.portfolio-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portfolio-card .body {
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.portfolio-card .body h3 { font-size: 1.1rem; }
.portfolio-card .body p { font-size: 0.9rem; color: var(--ink-soft); }

.portfolio-card .body .try-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
}

.portfolio-card .body .try-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.portfolio-card:hover .body .try-link svg { transform: translateX(4px); }
.portfolio-card:hover .body .try-link { color: var(--accent); }

@media (max-width: 640px) {
  .portfolio-card { width: 280px; }
  .portfolio-card .thumb { height: 170px; }
}

/* ---------- Portfolio device-frame previews (laptop + phone, static screenshots) ---------- */
.device-preview {
  position: relative;
  width: 100%;
  height: 270px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.device-laptop { width: 330px; }

.laptop-screen {
  width: 100%;
  height: 198px;
  background: #111;
  border: 6px solid #1c1c1c;
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  position: relative;
  padding: 4px;
  box-sizing: border-box;
}

.laptop-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 3px;
  display: block;
}

.laptop-base {
  width: 112%;
  margin-left: -6%;
  height: 9px;
  background: #2a2a2a;
  border-radius: 0 0 6px 6px;
}

.badge-type {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  width: fit-content;
}

.badge-type.client { background: var(--accent-soft); color: var(--accent); }
.badge-type.demo { background: var(--bg-soft); color: var(--ink-faint); border: 1px solid var(--border); }

@media (max-width: 640px) {
  .device-laptop { width: 250px; }
  .laptop-screen { height: 150px; }
}

/* ---------- Floating robot badge (hero) ---------- */
.robot-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-dark);
  color: var(--white);
  padding: 0.5rem 0.9rem 0.5rem 0.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: var(--shadow-card);
  z-index: 3;
  animation: floatBadge 4s ease-in-out infinite;
}

.robot-badge .robot-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.robot-badge .robot-icon svg { width: 16px; height: 16px; }

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

@media (prefers-reduced-motion: reduce) {
  .robot-badge { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-track.playing { animation: none; }
}

/* ---------- Orbit rotation (portfolio) ---------- */
.orbit-wrap {
  position: relative;
  width: 420px;
  height: 420px;
  margin: 0 auto;
  max-width: 100%;
}

.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
}

.orbit-ring {
  position: absolute;
  inset: 0;
  animation: orbitSpin linear infinite;
}

.orbit-ring.ring-outer { animation-duration: 26s; }
.orbit-ring.ring-inner { inset: 90px; animation-duration: 20s; animation-direction: reverse; }

@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.orbit-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform: translate(-50%, -50%) rotate(var(--angle)) translateX(var(--radius));
}

.orbit-thumb {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-white);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-soft);
  animation: orbitCounter linear infinite;
  animation-duration: inherit;
  transform: translate(-50%, -50%) rotate(calc(-1 * var(--angle)));
}

.ring-inner .orbit-thumb { animation-direction: reverse; width: 56px; height: 56px; }

.orbit-thumb img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 560px) {
  .orbit-wrap { width: 300px; height: 300px; }
  .orbit-ring.ring-inner { inset: 60px; }
  .orbit-thumb { width: 54px; height: 54px; }
  .ring-inner .orbit-thumb { width: 42px; height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  .orbit-ring, .orbit-thumb { animation: none; }
}

/* ---------- Tools/trust marquee strip ---------- */
.trust-strip {
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--border);
}

.trust-strip-inner {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.trust-strip-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
  flex-shrink: 0;
  max-width: 220px;
}

.trust-marquee {
  overflow: hidden;
  flex: 1;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.trust-track {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  width: max-content;
  animation: trustScroll 24s linear infinite;
}

.trust-marquee:hover .trust-track { animation-play-state: paused; }

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

.trust-item {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink-faint);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .trust-track { animation: none; }
}

@media (max-width: 768px) {
  .trust-strip-inner { flex-direction: column; align-items: flex-start; gap: var(--space-3); }
}

/* ---------- 4-step numbered process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.process-step {
  padding: var(--space-4);
  border-left: 1px solid var(--border);
}

.process-step:first-child { border-left: none; }

.process-step .step-num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--ink-faint);
  margin-bottom: var(--space-4);
}

.process-step .step-icon {
  width: 40px;
  height: 40px;
  margin-bottom: var(--space-3);
  color: var(--ink);
}

.process-step .step-icon svg { width: 100%; height: 100%; }

.process-step h3 { font-size: 1.15rem; font-weight: 500; margin-bottom: var(--space-2); }
.process-step p { font-size: 0.9rem; color: var(--ink-soft); }

@media (max-width: 900px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(3) { border-left: none; }
}

@media (max-width: 560px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-step { border-left: none; border-top: 1px solid var(--border); }
  .process-step:first-child { border-top: none; }
}

/* ---------- Lenis smooth scroll (required minimal CSS) ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

/* ---------- Scroll reveal (fade + rise into view) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Directional scroll reveal ---------- */
.reveal-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.revealed { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.revealed { opacity: 1; transform: translateX(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal-left, .reveal-right { opacity: 1; transform: none; transition: none; }
}

/* ---------- Services page: category blocks ---------- */
.page-header {
  position: relative;
  overflow: hidden;
  padding: var(--space-6) 0 var(--space-5);
  text-align: center;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.page-header-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.4;
}

.blob-1 { width: 340px; height: 340px; background: var(--accent); top: -100px; left: 8%; animation: blobFloat 15s ease-in-out infinite; }
.blob-2 { width: 260px; height: 260px; background: #FFB37A; bottom: -80px; right: 10%; animation: blobFloat 19s ease-in-out infinite reverse; }
.blob-3 { width: 200px; height: 200px; background: var(--accent-soft); top: 30%; left: 46%; animation: blobFloat 23s ease-in-out infinite; }

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.15); }
}

@media (prefers-reduced-motion: reduce) {
  .blob { animation: none; }
}

.load-in {
  opacity: 0;
  animation: fadeUpIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeUpIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .load-in { opacity: 1; animation: none; }
}

.page-header h1 { max-width: 16ch; margin: 0 auto; }
.page-header p { max-width: 50ch; margin: var(--space-2) auto 0; font-size: 1.1rem; }

.service-category {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-5);
  align-items: center;
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--border);
}

.service-category:last-of-type { border-bottom: none; }

.service-category.flip .cat-info { order: 2; }
.service-category.flip .cat-chips { order: 1; }

.cat-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
}

.cat-icon svg { width: 30px; height: 30px; }

.cat-info h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: var(--space-2); }
.cat-info p { margin-bottom: var(--space-3); font-size: 1.02rem; }

.cat-chips {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 0.65rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  box-shadow: var(--shadow-soft);
}

.cat-chip {
  padding: 0.7rem 1.15rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  background: var(--bg-soft);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  transition: all 0.2s ease;
}

.cat-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-3px);
}

.cat-chip.more {
  background: var(--bg-dark);
  color: var(--white);
  border-color: var(--bg-dark);
}

@media (max-width: 860px) {
  .service-category { grid-template-columns: 1fr; }
  .service-category.flip .cat-info,
  .service-category.flip .cat-chips { order: initial; }
}

/* ---------- Closing CTA (dark) ---------- */
.cta-dark {
  background: var(--bg-dark);
  color: var(--ink-on-dark-soft);
  text-align: center;
  padding: var(--space-6) 0;
}

.cta-dark h2 { color: var(--ink-on-dark); margin-bottom: var(--space-2); }
.cta-dark .btn-primary { background: var(--accent); }

/* ---------- Pricing page ---------- */
.inclusion-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  background: var(--accent-soft);
  border: 1px solid rgba(244, 125, 49, 0.25);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-5);
}

.inclusion-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}

.inclusion-item svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

.pricing-note {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto var(--space-5);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: var(--space-3);
}

.pricing-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: var(--accent);
}

.pricing-card .icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
}

.pricing-card .icon-circle svg { width: 22px; height: 22px; }

.pricing-card h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.pricing-card .plan-sub { font-size: 0.85rem; color: var(--ink-faint); margin-bottom: var(--space-3); }

.pricing-card .price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.1rem;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.pricing-card .price .from-label {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-faint);
  margin-bottom: 0.3rem;
}

.pricing-card .price-caption {
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin-bottom: var(--space-3);
}

.pricing-card hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 0 var(--space-3);
}

.pricing-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: var(--space-4);
  flex: 1;
}

.pricing-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.pricing-card ul li svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.pricing-card.featured {
  background: var(--bg-dark);
  border-color: var(--bg-dark);
}

.pricing-card.featured h3,
.pricing-card.featured .price { color: var(--white); }

.pricing-card.featured .plan-sub,
.pricing-card.featured .price-caption,
.pricing-card.featured ul li { color: var(--ink-on-dark-soft); }

.pricing-card.featured hr { border-top-color: var(--border-dark); }
.pricing-card.featured .icon-circle { background: var(--accent); color: var(--white); }

.payment-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.payment-strip span.label {
  font-size: 0.9rem;
  color: var(--ink-faint);
  font-weight: 600;
}

.payment-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 1.2rem 0.55rem 0.55rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.92rem;
}

.payment-badge .icon-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
}

.payment-badge .icon-dot svg { width: 16px; height: 16px; }

.payment-badge.paypal { background: rgba(0, 112, 186, 0.08); color: #003087; }
.payment-badge.paypal .icon-dot { background: #0070BA; }

.payment-badge.wise { background: rgba(158, 232, 112, 0.25); color: #16330A; }
.payment-badge.wise .icon-dot { background: #9FE870; color: #16330A; }

.payment-badge.bank { background: var(--bg-soft); color: var(--ink); }
.payment-badge.bank .icon-dot { background: var(--ink); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  padding: var(--space-6) 0 var(--space-4);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

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

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

.footer-brand p {
  margin-top: var(--space-2);
  font-size: 0.9rem;
  color: var(--ink-soft);
  max-width: 32ch;
}

.footer-col h6 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: var(--space-2);
}

.footer-col ul li { margin-bottom: 0.75rem; }

.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.footer-col ul li a:hover { color: var(--accent); }

.newsletter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.4rem 0.4rem 1.1rem;
  margin-bottom: var(--space-2);
}

.newsletter-bar input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink);
  outline: none;
}

.newsletter-bar button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.newsletter-bar button svg { width: 16px; height: 16px; }

.footer-consent {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.footer-consent a { color: var(--ink); font-weight: 600; }

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

.footer-socials { display: flex; gap: 0.75rem; }

.footer-socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  transition: all 0.2s ease;
}

.footer-socials a:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.footer-socials svg { width: 16px; height: 16px; }

/* ---------- Chatbot widget ---------- */
.chatbot-launcher {
  position: fixed;
  right: var(--space-3);
  bottom: var(--space-3);
  z-index: 300;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #FF9457);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(244, 125, 49, 0.4);
  transition: transform 0.2s ease;
}

.chatbot-launcher::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0.5;
  animation: launcherPulse 2.4s ease-out infinite;
}

.chatbot-launcher.open::before { display: none; }

@keyframes launcherPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.35); opacity: 0; }
}

.chatbot-launcher:hover { transform: scale(1.06); }
.chatbot-launcher img { width: 34px; height: 34px; object-fit: contain; }
.chatbot-launcher svg { width: 24px; height: 24px; }
.chatbot-launcher .icon-close { display: none; }
.chatbot-launcher.open .icon-brand { display: none; }
.chatbot-launcher.open .icon-close { display: block; }

.chatbot-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #FF3B30;
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg);
}

.chatbot-launcher.open .chatbot-badge { display: none; }

@media (prefers-reduced-motion: reduce) {
  .chatbot-launcher::before { animation: none; }
}

/* Teaser message bubble that pops up before the user opens the full panel */
.chat-teaser {
  position: fixed;
  right: calc(var(--space-3) + 76px);
  bottom: calc(var(--space-3) + 14px);
  z-index: 299;
  max-width: 240px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  border-bottom-right-radius: 4px;
  padding: 0.8rem 1rem;
  box-shadow: var(--shadow-card);
  font-size: 0.88rem;
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.chat-teaser.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.chat-teaser-close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  box-shadow: var(--shadow-soft);
}

@media (max-width: 480px) {
  .chat-teaser { right: var(--space-2); max-width: calc(100vw - 100px); }
}

.chatbot-panel {
  position: fixed;
  right: var(--space-3);
  bottom: 100px;
  z-index: 300;
  width: 380px;
  max-width: calc(100vw - 2 * var(--space-3));
  height: 560px;
  max-height: 70vh;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.97);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.chatbot-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chatbot-header {
  background: var(--bg-dark);
  color: var(--white);
  padding: var(--space-3);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.chatbot-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  padding: 4px;
}

.chatbot-avatar img { width: 100%; height: 100%; object-fit: contain; }

.chatbot-header-info { flex: 1; }
.chatbot-name { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; }

.chatbot-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
}

.chatbot-status .status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3DD68C;
}

.chatbot-close-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  flex-shrink: 0;
}

.chatbot-close-btn:hover { background: rgba(255, 255, 255, 0.1); }
.chatbot-close-btn svg { width: 16px; height: 16px; }

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: var(--bg-soft);
}

.chat-msg {
  max-width: 84%;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  line-height: 1.5;
}

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

.chat-msg.user {
  background: var(--bg-dark);
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-typing {
  display: flex;
  gap: 4px;
  padding: 0.75rem 1rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  width: fit-content;
}

.chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-faint);
  animation: typingBounce 1.2s infinite ease-in-out;
}

.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.chatbot-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0 var(--space-3) var(--space-3);
  background: var(--bg-soft);
}

.chatbot-quick-replies:empty { padding: 0; }

.quick-reply-btn {
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  background: var(--bg-white);
  color: var(--ink);
  font-size: 0.83rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.quick-reply-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.chat-form {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  align-self: stretch;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.chat-form input {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--ink);
  background: var(--bg-soft);
}

.chat-form input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-white);
}

.chat-form button {
  padding: 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
}

.chat-form button:hover { background: var(--ink); }
.chat-form button:disabled { opacity: 0.6; }

.chat-success {
  background: #EAF7EF;
  border: 1px solid #BEE6CB;
  color: #1E7B41;
  border-radius: var(--radius-md);
  padding: var(--space-3);
  font-size: 0.85rem;
  align-self: stretch;
}

.chat-success .whatsapp-cta {
  margin-top: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #1FAA59;
  color: var(--white);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.82rem;
}

.chat-error {
  background: #FDEDEA;
  border: 1px solid #F4C6BC;
  color: #B33017;
  border-radius: var(--radius-md);
  padding: var(--space-3);
  font-size: 0.85rem;
  align-self: stretch;
}

@media (max-width: 480px) {
  .chatbot-panel {
    right: var(--space-2);
    left: var(--space-2);
    width: auto;
    bottom: 88px;
  }
}

/* ---------- Floating WhatsApp button (persistent, every page) ---------- */
.whatsapp-float {
  position: fixed;
  left: var(--space-3);
  bottom: var(--space-3);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #1FAA59;
  color: var(--white);
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 10px 24px rgba(31, 170, 89, 0.35);
  transition: transform 0.2s ease;
}

.whatsapp-float:hover { transform: translateY(-3px); }

.whatsapp-float svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- Scroll-to-top button ---------- */
.scroll-top {
  position: fixed;
  right: var(--space-3);
  bottom: 96px;
  z-index: 200;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 600px) {
  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: 0.85rem; }
}