/* ==========================================================================
   Credit Fin Loans — Sleek-Elevated Design System
   Design tokens sampled from the brand logo. See project skill for spec.
   ========================================================================== */

:root {
  --bg-primary: #F7F8F9;
  --bg-inverse: #16232D;
  --bg-inverse-soft: #1C2C38;
  --navy: #2D4251;
  --ink: #12181D;
  --muted: #6C7179;
  --muted-on-dark: #A9B4BC;
  --accent: #00989C;
  --accent-soft: #E6F6F6;
  --brand-highlight: #F7981E;
  --status-live: #00989C;
  --line: rgba(18, 24, 29, 0.09);
  --line-on-dark: rgba(255, 255, 255, 0.12);
  --white: #FFFFFF;

  --font-sans: "Instrument Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --tracking-tight: -0.03em;
  --tracking-loose: 0.14em;

  --ease-spring: cubic-bezier(.16,1,.3,1);
  --shadow-btn:
    0 1px 1px rgba(0,0,0,.05), 0 2px 2px rgba(0,0,0,.05),
    0 4px 4px rgba(0,0,0,.05), 0 8px 8px rgba(0,0,0,.05),
    0 16px 16px rgba(0,0,0,.05), 0 24px 32px rgba(0,0,0,.08);
  --shadow-btn-hover:
    0 1px 1px rgba(0,0,0,.06), 0 3px 3px rgba(0,0,0,.06),
    0 6px 6px rgba(0,0,0,.06), 0 11px 11px rgba(0,0,0,.06),
    0 22px 22px rgba(0,0,0,.07), 0 34px 45px rgba(0,0,0,.11);
  --shadow-card: 0 1px 2px rgba(18,24,29,.04), 0 8px 24px rgba(18,24,29,.06);
  --shadow-card-hover: 0 2px 4px rgba(18,24,29,.05), 0 16px 40px rgba(18,24,29,.10);
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  letter-spacing: var(--tracking-tight);
  color: var(--ink);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-loose);
  color: var(--accent);
}

h1, h2, h3, h4 {
  letter-spacing: var(--tracking-tight);
  font-weight: 600;
  margin: 0;
  line-height: 1.08;
}

h1 { font-size: clamp(34px, 5.4vw, 56px); font-weight: 700; }
h2 { font-size: clamp(26px, 3.4vw, 34px); }
h3 { font-size: 19px; }

p { margin: 0; line-height: 1.65; color: var(--muted); font-size: 16px; }

.section { padding: 96px 0; position: relative; }
.section-head { max-width: 640px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 14px; font-size: 17px; }

.dark-section {
  background: var(--bg-inverse);
  color: var(--white);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.dark-section::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse at 12% -10%, rgba(0,152,156,.18), transparent 55%),
    radial-gradient(ellipse at 100% 110%, rgba(247,152,30,.11), transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.dark-section::after {
  content: "";
  position: absolute; inset: 0;
  opacity: .05;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.dark-section > * { position: relative; z-index: 1; }
.dark-section h1, .dark-section h2, .dark-section h3 { color: var(--white); }
.dark-section p { color: var(--muted-on-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 14px 26px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: var(--tracking-tight);
  white-space: nowrap;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-btn);
  transition: transform .5s var(--ease-spring), box-shadow .5s var(--ease-spring), background .3s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-btn-hover); }
.btn:active { transform: translateY(0); }
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }

.btn-accent { background: var(--accent); }
.btn-highlight { background: var(--brand-highlight); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(18,24,29,.25); }

.dark-section .btn-ghost,
.cta-mesh .btn-ghost {
  color: #fff;
  box-shadow: inset 0 0 0 1.5px var(--line-on-dark);
}
.dark-section .btn-ghost:hover,
.cta-mesh .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }

.btn.btn-ghost.btn-whatsapp { color: #25D366; box-shadow: inset 0 0 0 1.5px rgba(37,211,102,.5); }
.btn.btn-ghost.btn-whatsapp:hover { box-shadow: inset 0 0 0 1.5px rgba(37,211,102,.85); }

.btn-block { width: 100%; }
.btn-sm { padding: 11px 20px; font-size: 14px; }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  text-align: center;
  padding: 10px 16px;
}
.announce-inner { display: inline-flex; align-items: center; gap: 10px; }
.announce a { text-decoration: underline; text-underline-offset: 2px; opacity: .9; }

.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,152,156,.55); }
  100% { box-shadow: 0 0 0 9px rgba(0,152,156,0); }
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,248,249,.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(18,24,29,.02), 0 12px 24px -18px rgba(18,24,29,.25);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; }
.brand img { height: 52px; width: auto; }

.nav-links {
  display: flex; align-items: center; gap: 30px;
}
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: var(--ink);
  position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1.5px; background: var(--accent);
  transition: right .35s var(--ease-spring);
}
.nav-links a:hover::after { right: 0; }
.nav-links a[aria-current="page"] { color: var(--accent); }
.nav-links a[aria-current="page"]::after { right: 0; }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  body.menu-open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-primary);
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(18,24,29,.25);
  }
  body.menu-open .nav-links a { padding: 10px 0; width: 100%; }
}

/* ---------- Simple page hero (non-photo pages, e.g. About) ---------- */
.page-hero { padding: 76px 0 40px; }

/* ---------- Hero (full-bleed photo slideshow) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 150px 0 150px;
  color: #fff;
}

.hero-slideshow { position: absolute; inset: 0; z-index: -2; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.8s ease;
  animation: hero-kenburns 18s ease-in-out infinite alternate;
}
.hero-slide.active { opacity: 1; z-index: 1; }
@keyframes hero-kenburns {
  0% { transform: scale(1.08) translate(0, 0); }
  100% { transform: scale(1.16) translate(-1.5%, -1%); }
}

.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(190deg, rgba(15,24,31,.45) 0%, rgba(15,24,31,.62) 45%, rgba(13,20,26,.92) 100%),
    radial-gradient(ellipse at 12% 15%, rgba(0,152,156,.32), transparent 55%),
    radial-gradient(ellipse at 92% 88%, rgba(247,152,30,.22), transparent 50%);
}

.hero-slide-dots {
  position: absolute; left: 50%; bottom: 118px; z-index: 6;
  transform: translateX(-50%);
  display: flex; gap: 9px;
}
.hero-slide-dots .dot {
  width: 8px; height: 8px; border-radius: 999px; padding: 0;
  border: none; cursor: pointer;
  background: rgba(255,255,255,.4);
  transition: all .45s var(--ease-spring);
}
.hero-slide-dots .dot.active { width: 26px; background: #fff; }

.hero-badge {
  position: absolute; top: 118px; right: 24px; z-index: 6;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: #fff; font-size: 12.5px; font-weight: 600;
  padding: 9px 16px; border-radius: 999px;
}
.hero-badge svg { width: 15px; height: 15px; color: var(--accent); }

.hero-content { position: relative; z-index: 2; max-width: 620px; }
.hero-eyebrow { margin-bottom: 22px; text-shadow: 0 2px 16px rgba(0,0,0,.3); }
.hero h1 { margin-bottom: 20px; color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.3); }
.hero-sub { font-size: 18px; max-width: 520px; margin-bottom: 34px; color: rgba(255,255,255,.86); text-shadow: 0 2px 16px rgba(0,0,0,.3); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-note { font-size: 13.5px; color: rgba(255,255,255,.78); display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.hero .btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.hero .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }

.stat-cluster {
  position: absolute; left: 0; right: 0; bottom: -54px;
  display: flex; gap: 16px; justify-content: center;
  padding: 0 24px;
  z-index: 5;
}
.stat-card {
  background: #fff;
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: var(--shadow-card-hover);
  min-width: 148px;
  transition: transform .5s var(--ease-spring), box-shadow .5s var(--ease-spring);
}
.stat-card:hover { box-shadow: 0 30px 50px -20px rgba(18,24,29,.22); }
.stat-num {
  font-size: 30px; font-weight: 700; letter-spacing: var(--tracking-tight);
  color: var(--ink); display: flex; align-items: baseline; gap: 2px;
}
.stat-num .accent { color: var(--accent); }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.4; }

@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none; transform: scale(1); }
}

@media (max-width: 980px) {
  .hero { min-height: auto; padding: 128px 0 210px; }
  .hero-badge { top: 96px; right: 16px; }
  .hero-slide-dots { top: 148px; bottom: auto; left: auto; right: 16px; transform: none; }
}
@media (max-width: 560px) {
  .stat-cluster { flex-direction: column; bottom: -78px; }
  .stat-card { width: 100%; }
  .hero { padding-bottom: 320px; }
}

/* ---------- Trust bar ---------- */
.trust-bar { padding: 22px 0 96px; }
.trust-row {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}
.trust-chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 18px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
  font-size: 13.5px; font-weight: 600; color: var(--ink);
}
.trust-chip svg { width: 17px; height: 17px; color: var(--accent); flex-shrink: 0; }

/* ---------- Services ---------- */
.tabs {
  display: inline-flex; gap: 4px;
  background: #fff;
  padding: 5px; border-radius: 999px;
  box-shadow: 0 0 0 1px var(--line);
  margin-bottom: 40px;
}
.tab-btn, .mode-btn {
  border: none; background: transparent; cursor: pointer;
  padding: 10px 20px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--muted);
  transition: background .35s var(--ease-spring), color .35s ease;
}
.tab-btn.active, .mode-btn.active { background: var(--ink); color: #fff; }

.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.service-panel { display: none; }
.service-panel.active { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.card {
  background: #fff;
  border-radius: 20px;
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
  transition: transform .5s var(--ease-spring), box-shadow .5s var(--ease-spring);
}
.card:hover { box-shadow: var(--shadow-card-hover); }

.icon-chip {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: transform .45s var(--ease-spring), background .45s ease, color .45s ease;
}
.icon-chip svg { width: 21px; height: 21px; }
.card:hover .icon-chip { transform: rotate(45deg); background: var(--ink); color: #fff; }

.service-card .roll { height: 1.3em; overflow: hidden; margin-bottom: 8px; }
.service-card .roll-inner { transition: transform .5s var(--ease-spring); }
.service-card:hover .roll-inner { transform: translateY(-1.3em); }
.service-card .roll-title { display: block; font-weight: 600; font-size: 16.5px; color: var(--ink); height: 1.3em; }
.service-card .roll-cta { display: flex; align-items: center; gap: 6px; height: 1.3em; font-weight: 600; font-size: 16.5px; color: var(--accent); }
.service-card .roll-cta svg { width: 15px; height: 15px; }
.service-card p { font-size: 14.5px; }

@media (max-width: 980px) {
  .services-grid, .service-panel.active { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .services-grid, .service-panel.active { grid-template-columns: 1fr; }
}

/* ---------- How it works ---------- */
.steps {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.step {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 20px;
  position: relative;
  transition: border-color .4s ease, transform .5s var(--ease-spring);
}
.step:hover { border-color: rgba(0,152,156,.4); transform: translateY(-4px); }
.step-num {
  font-size: 12px; font-weight: 700; color: var(--accent);
  letter-spacing: var(--tracking-loose);
  margin-bottom: 14px;
}
.step .icon-chip { margin-bottom: 16px; }
.step h3 { font-size: 16px; margin-bottom: 8px; }
.step p { font-size: 13.5px; }

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

/* ---------- Reveal / expertise cards ---------- */
.reveal-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.reveal-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4/4.6;
  background: var(--navy);
  box-shadow: var(--shadow-card);
}
.reveal-card-bg {
  position: absolute; inset: -13px -17px;
  transition: inset .6s var(--ease-spring);
  background: var(--navy);
}
.reveal-card:hover .reveal-card-bg { inset: 0; }
.reveal-card-bg::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse at 15% 0%, rgba(0,152,156,.4), transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(247,152,30,.28), transparent 50%);
}
.reveal-card-content {
  position: absolute; inset: 0; z-index: 2;
  padding: 28px; display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff;
}
.reveal-card .icon-chip { background: rgba(255,255,255,.12); color: #fff; margin-bottom: 14px; }
.reveal-card h3 { color: #fff; font-size: 19px; margin-bottom: 8px; }
.reveal-card p { color: rgba(255,255,255,.75); font-size: 14px; }

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

@media (max-width: 980px) { .reveal-grid, .reveal-grid.cols-2 { grid-template-columns: 1fr; } }

/* ---------- Stats band ---------- */
.stats-band {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.stats-band .stat-card { min-width: 0; }
.stats-band .stat-num { font-size: 40px; }

@media (max-width: 700px) { .stats-band { grid-template-columns: 1fr; } }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.why-list { display: flex; flex-direction: column; gap: 22px; margin-top: 28px; }
.why-item { display: flex; gap: 16px; }
.why-item .icon-chip { flex-shrink: 0; margin-bottom: 0; }
.why-item h3 { font-size: 16.5px; margin-bottom: 6px; }
.why-item p { font-size: 14.5px; }

.why-panel {
  background: var(--bg-inverse);
  border-radius: 26px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.why-panel::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse at 15% 10%, rgba(0,152,156,.3), transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(247,152,30,.2), transparent 50%);
  z-index: -1;
}
.avatar-stack { display: flex; margin-bottom: 22px; }
.avatar-stack .badge {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent);
  color: #fff; font-weight: 700; font-size: 13px;
  border: 3px solid var(--bg-inverse);
  margin-left: -12px;
}
.avatar-stack .badge:first-child { margin-left: 0; }
.avatar-stack .badge:nth-child(2) { background: var(--brand-highlight); }
.avatar-stack .badge:nth-child(3) { background: var(--navy); }
.why-panel h3 { color: #fff; font-size: 20px; margin-bottom: 10px; }
.why-panel p { color: var(--muted-on-dark); font-size: 14.5px; }
.why-panel .quote {
  margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line-on-dark);
  font-size: 13.5px; color: var(--muted-on-dark); font-style: italic;
}

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

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 20px; background: none; border: none; cursor: pointer;
  padding: 22px 2px; text-align: left;
  font-size: 16px; font-weight: 600; color: var(--ink);
}
.faq-icon {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--ink);
  transition: transform .4s var(--ease-spring), background .4s ease, border-color .4s ease;
}
.faq-icon svg { width: 14px; height: 14px; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.faq-a-wrap {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .5s var(--ease-spring);
}
.faq-a-inner { overflow: hidden; }
.faq-item.open .faq-a-wrap { grid-template-rows: 1fr; }
.faq-a { padding: 0 2px 22px; font-size: 14.5px; max-width: 640px; }

/* ---------- Closing CTA ---------- */
.cta-mesh {
  background: var(--bg-inverse);
  background-image:
    radial-gradient(circle at 20% 30%, rgba(0,152,156,.35), transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(247,152,30,.28), transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(45,66,81,.65), transparent 45%);
  background-size: 180% 180%;
  animation: drift 16s ease-in-out infinite alternate;
  border-radius: 32px;
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta-mesh::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes drift {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}
.cta-mesh h2 { color: #fff; max-width: 620px; margin: 0 auto 14px; }
.cta-mesh p { color: var(--muted-on-dark); max-width: 520px; margin: 0 auto 32px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-contact-row {
  display: flex; gap: 28px; justify-content: center; flex-wrap: wrap;
  margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line-on-dark);
}
.cta-contact-item { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 14.5px; font-weight: 500; }
.cta-contact-item svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }

/* ---------- Contact / enquiry form ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; }
.contact-info-card {
  background: var(--bg-inverse);
  border-radius: 24px; padding: 36px;
  color: #fff; position: relative; overflow: hidden; isolation: isolate;
}
.contact-info-card::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(ellipse at 20% 0%, rgba(0,152,156,.28), transparent 55%);
}
.contact-info-card h3 { color: #fff; margin-bottom: 22px; }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 20px; }
.contact-info-item .icon-chip { background: rgba(255,255,255,.1); color: var(--accent); margin-bottom: 0; flex-shrink: 0; }
.contact-info-item strong { display: block; font-size: 14.5px; color: #fff; margin-bottom: 3px; }
.contact-info-item span, .contact-info-item a { font-size: 14px; color: var(--muted-on-dark); }
.contact-info-item a:hover { color: #fff; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: inherit; font-size: 14.5px; color: var(--ink);
  background: #fff;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; }
.form-status { font-size: 13.5px; margin-top: 12px; display: none; }
.form-status.show { display: block; }

.contact-mode-tabs { margin-bottom: 22px; }
.contact-mode-panel { display: none; }
.contact-mode-panel.active { display: block; }

/* ---------- Voice note recorder ---------- */
.voice-shared-fields { margin-bottom: 6px; }
.voice-recorder {
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  text-align: center;
}
.voice-visualizer {
  display: flex; align-items: center; justify-content: center;
  gap: 3px; height: 56px; margin-bottom: 16px;
}
.voice-visualizer .bar {
  width: 4px; min-width: 4px; border-radius: 3px;
  background: var(--accent-soft); height: 6px;
  transition: height .12s ease, background .3s ease;
}
.voice-recorder.recording .voice-visualizer .bar { background: var(--accent); }

.voice-timer {
  font-size: 22px; font-weight: 700; letter-spacing: var(--tracking-tight);
  color: var(--ink); margin-bottom: 20px;
  font-variant-numeric: tabular-nums;
}

.voice-record-btn {
  width: 76px; height: 76px; border-radius: 50%;
  border: none; cursor: pointer;
  background: var(--accent); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-btn);
  position: relative;
  transition: background .4s ease, transform .4s var(--ease-spring), box-shadow .4s var(--ease-spring);
}
.voice-record-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-btn-hover); }
.voice-record-btn svg { width: 28px; height: 28px; position: relative; z-index: 1; }
.voice-record-btn::before {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 2px solid #E4483C; opacity: 0; transition: opacity .3s ease;
}
.voice-recorder.recording .voice-record-btn { background: #E4483C; }
.voice-recorder.recording .voice-record-btn::before { opacity: 1; animation: mic-ring 1.7s infinite; }
@keyframes mic-ring {
  0% { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.45); opacity: 0; }
}

.voice-hint { font-size: 13px; color: var(--muted); margin-top: 16px; min-height: 18px; }

.voice-playback { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.voice-playback audio { width: 100%; margin-bottom: 18px; }
.voice-playback-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }

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

/* ---------- Footer ---------- */
.footer { background: var(--bg-inverse); color: var(--muted-on-dark); position: relative; overflow: hidden; isolation: isolate; padding: 64px 0 0; }
.footer::before {
  content: "";
  position: absolute; inset: 0; z-index: -1; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 48px; border-bottom: 1px solid var(--line-on-dark);
}
.footer-brand img { height: 44px; margin-bottom: 16px; }
.footer-brand p { font-size: 13.5px; max-width: 280px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line-on-dark);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .3s ease, transform .4s var(--ease-spring);
}
.footer-social a:hover { border-color: var(--accent); transform: translateY(-3px); }
.footer-social svg { width: 16px; height: 16px; }
.footer-col h4 { color: #fff; font-size: 13.5px; text-transform: uppercase; letter-spacing: var(--tracking-loose); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col span { font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding: 26px 0; font-size: 12.5px;
}
.footer-bottom a { text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(169,180,188,.4); transition: color .3s ease; }
.footer-bottom a:hover { color: #fff; text-decoration-color: currentColor; }
.footer-disclosure {
  font-size: 12px; line-height: 1.7; color: rgba(169,180,188,.75);
  padding: 24px 0 32px; border-top: 1px solid var(--line-on-dark); margin-top: 4px;
}

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

/* ---------- WhatsApp float button ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px -4px rgba(37,211,102,.55), var(--shadow-btn);
  transition: transform .5s var(--ease-spring);
}
.wa-float:hover { transform: translateY(-3px) scale(1.08); }
.wa-float svg { width: 30px; height: 30px; position: relative; z-index: 1; }
.wa-float::before {
  content: "";
  position: absolute; inset: 0; border-radius: 50%;
  background: #25D366;
  animation: wa-pulse 2.4s infinite;
  z-index: 0;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: .55; }
  100% { transform: scale(1.9); opacity: 0; }
}
.wa-tip {
  position: absolute; right: calc(100% + 14px); top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--ink); color: #fff;
  font-size: 13px; font-weight: 600; white-space: nowrap;
  padding: 8px 14px; border-radius: 999px;
  opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease-spring), transform .35s var(--ease-spring);
  box-shadow: var(--shadow-card);
}
.wa-float:hover .wa-tip { opacity: 1; transform: translateY(-50%) translateX(0); }

@media (max-width: 560px) {
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .wa-float svg { width: 24px; height: 24px; }
  .wa-tip { display: none; }
}

/* ---------- Chat assistant widget ---------- */
.chatbot { position: fixed; right: 22px; bottom: 92px; z-index: 199; }

.chatbot-toggle {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--ink); color: #fff;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-btn-hover);
  transition: transform .5s var(--ease-spring), background .3s ease;
  position: relative;
}
.chatbot-toggle:hover { transform: translateY(-3px) scale(1.06); }
.chatbot-toggle svg { width: 25px; height: 25px; }
.chatbot-toggle .icon-close-cb { display: none; }
.chatbot.open .chatbot-toggle { background: var(--accent); }
.chatbot.open .chatbot-toggle .icon-open { display: none; }
.chatbot.open .chatbot-toggle .icon-close-cb { display: block; }
.chatbot-toggle .ping {
  position: absolute; top: -2px; right: -2px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--brand-highlight);
  border: 2px solid #fff;
}
.chatbot.open .chatbot-toggle .ping { display: none; }

.chatbot-panel {
  position: absolute; right: 0; bottom: 74px;
  width: 380px; max-width: calc(100vw - 32px);
  height: 560px; max-height: min(70vh, 620px);
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow-card-hover);
  display: flex; flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  transform: scale(.92) translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition: transform .45s var(--ease-spring), opacity .35s ease;
}
.chatbot.open .chatbot-panel {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.chatbot-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 18px 18px;
  background: var(--bg-inverse);
  background-image: radial-gradient(ellipse at 10% 0%, rgba(0,152,156,.3), transparent 55%);
  color: #fff; flex-shrink: 0;
}
.chatbot-header-info { display: flex; align-items: center; gap: 12px; }
.chatbot-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.chatbot-avatar svg { width: 19px; height: 19px; }
.chatbot-header-info strong { display: block; font-size: 14.5px; }
.chatbot-header-info span { display: block; font-size: 12px; color: var(--muted-on-dark); margin-top: 1px; }
.chatbot-close {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid var(--line-on-dark); background: transparent; color: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: border-color .3s ease;
}
.chatbot-close:hover { border-color: rgba(255,255,255,.5); }
.chatbot-close svg { width: 14px; height: 14px; }

.chatbot-messages {
  flex: 1; overflow-y: auto;
  padding: 18px; display: flex; flex-direction: column; gap: 12px;
  background: var(--bg-primary);
}
.cb-msg { display: flex; }
.cb-msg.bot { justify-content: flex-start; }
.cb-msg.user { justify-content: flex-end; }
.cb-bubble {
  max-width: 82%; font-size: 13.5px; line-height: 1.55;
  padding: 11px 14px; border-radius: 16px; white-space: pre-line;
}
.cb-msg.bot .cb-bubble { background: #fff; box-shadow: 0 0 0 1px var(--line); color: var(--ink); border-bottom-left-radius: 4px; }
.cb-msg.user .cb-bubble { background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }

.cb-typing { display: flex; gap: 4px; padding: 4px 2px; }
.cb-typing span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--muted);
  animation: cb-bounce 1.1s infinite ease-in-out;
}
.cb-typing span:nth-child(2) { animation-delay: .15s; }
.cb-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes cb-bounce { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

.chatbot-quick {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 0 18px 14px; flex-shrink: 0;
  background: var(--bg-primary);
}
.cb-chip {
  border: 1.5px solid var(--line); background: #fff; cursor: pointer;
  border-radius: 999px; padding: 8px 14px; font-size: 12.5px; font-weight: 600;
  color: var(--ink); transition: border-color .3s ease, color .3s ease;
}
.cb-chip:hover { border-color: var(--accent); color: var(--accent); }

.chatbot-input-row {
  display: flex; align-items: center; gap: 10px;
  padding: 14px; border-top: 1px solid var(--line); flex-shrink: 0; background: #fff;
}
.chatbot-input-row input {
  flex: 1; border: 1.5px solid var(--line); border-radius: 999px;
  padding: 11px 16px; font-family: inherit; font-size: 13.5px; color: var(--ink);
  transition: border-color .3s ease, box-shadow .3s ease;
}
.chatbot-input-row input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.chatbot-send {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent); color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform .4s var(--ease-spring);
}
.chatbot-send:hover { transform: scale(1.08); }
.chatbot-send svg { width: 16px; height: 16px; }

.chatbot-disclaimer {
  font-size: 10.5px; color: var(--muted); text-align: center;
  padding: 0 16px 14px; flex-shrink: 0; background: #fff; line-height: 1.5;
}

@media (max-width: 560px) {
  .chatbot { right: 16px; bottom: 84px; }
  .chatbot-toggle { width: 52px; height: 52px; }
  .chatbot-panel { width: calc(100vw - 24px); height: min(72vh, 560px); bottom: 64px; right: -6px; }
}

/* ---------- Give it life: cursor glow, tilt, magnetic ---------- */
.cursor-glow {
  position: fixed; top: 0; left: 0;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,152,156,.55), rgba(247,152,30,.18) 45%, transparent 72%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity .5s ease;
  mix-blend-mode: screen;
  filter: blur(6px);
  will-change: transform;
}
.cursor-glow.active { opacity: 1; }
@media (hover: none), (pointer: coarse) {
  .cursor-glow { display: none; }
}

.tilt, .magnetic { will-change: transform; }
.tilt { transition: transform .5s var(--ease-spring), box-shadow .5s var(--ease-spring); }
.magnetic { transition: transform .4s var(--ease-spring); }

@media (prefers-reduced-motion: reduce) {
  .cursor-glow { display: none; }
}

/* ---------- Scroll reveal ---------- */
.reveal-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s var(--ease-spring), transform .8s var(--ease-spring);
}
.reveal-up.in-view { opacity: 1; transform: translateY(0); }
.reveal-up.d1 { transition-delay: .08s; }
.reveal-up.d2 { transition-delay: .16s; }
.reveal-up.d3 { transition-delay: .24s; }
.reveal-up.d4 { transition-delay: .32s; }

/* ---------- misc ---------- */
.divider { height: 1px; background: var(--line); }
.text-center { text-align: center; }
.badge-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent-soft); color: var(--accent);
  font-size: 12px; font-weight: 700; letter-spacing: var(--tracking-loose);
  text-transform: uppercase; padding: 6px 14px; border-radius: 999px;
  margin-bottom: 16px;
}
