/* ==========================================================================
   Creative Workspace — styles.css
   Single stylesheet shared across all pages.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,600;12..96,700;12..96,800&family=Manrope:wght@400;500;600;700;800&display=swap");

/* =====================================================================
   1. DESIGN TOKENS
   ===================================================================== */

:root {
  /* Brand palette — sampled from the overlapping-petal logo */
  --coral: #f2655f;
  --pink: #f4899a;
  --yellow: #f4c84f;
  --green: #7ec98a;
  --teal: #3fbec2;
  --blue: #4892c6;
  --indigo: #3c5f87;

  /* Soft tints (icon backgrounds, section fills) */
  --coral-50: #fdeceb;
  --yellow-50: #fcf4de;
  --green-50: #eaf6ec;
  --teal-50: #e2f5f5;
  --blue-50: #e6f0f8;
  --indigo-50: #e8edf3;

  /* Neutrals */
  --ink: #16171d;
  --ink-2: #3b3e49;
  --muted: #6c7079;
  --line: #ece9e3;
  --line-2: #e3e0d9;
  --bg: #ffffff;
  --bg-2: #faf8f3; /* warm off-white for alternating sections */
  --bg-dark: #14151b; /* dark sections + footer */

  /* Spacing & shape */
  --radius: 22px;
  --radius-sm: 14px;
  --radius-lg: 30px;
  --container: 1200px;

  /* Elevation */
  --shadow: 0 1px 2px rgba(20, 21, 29, 0.04), 0 8px 24px rgba(20, 21, 29, 0.06);
  --shadow-lg: 0 24px 60px -18px rgba(20, 21, 29, 0.22);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Typography */
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;
}

/* =====================================================================
   2. RESET
   ===================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
ul {
  list-style: none;
  padding: 0;
}

/* =====================================================================
   3. TYPOGRAPHY
   ===================================================================== */

h1,
h2,
h3,
h4 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.display {
  font-size: clamp(2.9rem, 6.4vw, 5.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
}
.h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.028em;
}
.h3 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.lead {
  font-size: clamp(1.12rem, 1.6vw, 1.32rem);
  line-height: 1.55;
  color: var(--ink-2);
  font-weight: 450;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.55;
}

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

/* =====================================================================
   4. LAYOUT HELPERS
   ===================================================================== */

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

.section {
  padding-block: clamp(68px, 9vw, 116px);
}
.section-sm {
  padding-block: clamp(48px, 6vw, 80px);
}

.bg-2 {
  background: var(--bg-2);
}
.bg-dark {
  background: var(--bg-dark);
  color: #fff;
}
.center {
  text-align: center;
}
.stack {
  display: flex;
  flex-direction: column;
}

.section-head {
  max-width: 640px;
  margin-bottom: 52px;
}
.section-head.center {
  margin-inline: auto;
}
.section-head .lead {
  margin-top: 16px;
}

.grid {
  display: grid;
  gap: 24px;
}
.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* =====================================================================
   5. BUTTONS
   ===================================================================== */

.btn {
  --bg: var(--ink);
  --fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.25s var(--ease),
    color 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn:active {
  transform: translateY(0) scale(0.98);
}
.btn svg {
  width: 18px;
  height: 18px;
}

.btn-accent {
  --fg: #fff;
  background: linear-gradient(
    100deg,
    var(--coral),
    var(--pink) 30%,
    var(--yellow) 55%,
    var(--teal) 80%,
    var(--blue)
  );
  background-size: 220% 100%;
  background-position: 0% 0;
  transition:
    background-position 0.6s var(--ease),
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.btn-accent:hover {
  background-position: 100% 0;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-2);
}
.btn-ghost:hover {
  box-shadow: inset 0 0 0 1.5px var(--ink);
  background: transparent;
}

.btn-light {
  background: #fff;
  color: var(--ink);
}
.btn-lg {
  padding: 17px 30px;
  font-size: 1.05rem;
}
.btn-sm {
  padding: 10px 18px;
  font-size: 0.9rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  color: var(--ink);
  transition: gap 0.2s var(--ease);
}
.link-arrow svg {
  width: 17px;
  height: 17px;
  transition: transform 0.2s var(--ease);
}
.link-arrow:hover {
  gap: 11px;
}

/* =====================================================================
   6. PILLS / TAGS
   ===================================================================== */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  background: var(--bg-2);
  color: var(--ink-2);
}
.tag .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent, var(--teal));
}

/* =====================================================================
   7. HEADER + NAVIGATION
   ===================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s,
    background 0.3s;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.brand img {
  width: 34px;
  height: 34px;
}
.brand .wm {
  display: flex;
  flex-direction: column;
  line-height: 1.02;
}
.brand .wm b {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.06rem;
  letter-spacing: -0.03em;
}
.brand .wm span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--ink-2);
  transition:
    color 0.2s,
    background 0.2s;
}
.nav-links a:hover {
  color: var(--ink);
  background: var(--bg-2);
}
.nav-links a.active {
  color: var(--ink);
}
.nav-links a.active::after {
  content: "";
  display: block;
  height: 2px;
  border-radius: 2px;
  margin: 3px 12px 0;
  background: linear-gradient(90deg, var(--coral), var(--teal));
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: transparent;
  border: 1px solid var(--line-2);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg {
  width: 22px;
  height: 22px;
}

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}
.drawer.open {
  display: block;
}
.drawer-scrim {
  position: absolute;
  inset: 0;
  background: rgba(20, 21, 29, 0.4);
  opacity: 0;
  transition: opacity 0.3s;
}
.drawer.open .drawer-scrim {
  opacity: 1;
}
.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(86vw, 340px);
  background: #fff;
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.drawer.open .drawer-panel {
  transform: translateX(0);
}
.drawer-panel .d-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.drawer-panel a {
  padding: 14px 12px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}
.drawer-panel a:hover {
  background: var(--bg-2);
}
.drawer-panel .btn {
  margin-top: 16px;
}

/* =====================================================================
   8. HERO
   ===================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 9vw, 110px);
}

.hero-blobs {
  position: absolute;
  top: -180px;
  right: -120px;
  width: min(720px, 80%);
  height: 620px;
  pointer-events: none;
  z-index: 0;
}

.blob {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: multiply;
  opacity: 0.38;
  filter: blur(56px);
  animation: drift 20s var(--ease) infinite alternate;
}
.blob.b1 {
  width: 300px;
  height: 300px;
  background: var(--coral);
  top: 40px;
  left: 4%;
  animation-delay: 0s;
}
.blob.b2 {
  width: 260px;
  height: 260px;
  background: var(--yellow);
  top: 0;
  left: 30%;
  animation-delay: -4s;
}
.blob.b3 {
  width: 320px;
  height: 320px;
  background: var(--teal);
  top: 80px;
  right: 22%;
  animation-delay: -8s;
}
.blob.b4 {
  width: 280px;
  height: 280px;
  background: var(--blue);
  top: 10px;
  right: -4%;
  animation-delay: -12s;
}
.blob.b5 {
  width: 240px;
  height: 240px;
  background: var(--green);
  top: 200px;
  left: 40%;
  animation-delay: -16s;
}

@keyframes drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(22px, 26px) scale(1.1);
  }
}

.hero .container {
  position: relative;
  z-index: 1;
}
.hero-inner {
  max-width: 880px;
}
.hero .display {
  margin-top: 22px;
}
.hero .lead {
  margin-top: 24px;
  max-width: 620px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
  margin-top: 44px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
}
.hero-trust .sep {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line-2);
}

/* =====================================================================
   9. BROWSER MOCKUP
   ===================================================================== */

.mockup {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  aspect-ratio: 16/11;
  display: flex;
  flex-direction: column;
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.mockup-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-2);
  display: block;
}
.mockup-bar .url {
  margin-left: 8px;
  height: 14px;
  flex: 1;
  border-radius: 7px;
  background: var(--bg-2);
  max-width: 60%;
}
.mockup-body {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: var(--accent-50, var(--teal-50));
}

.mockup-body .mhero {
  position: absolute;
  inset: 0 0 auto;
  height: 46%;
  background: var(--accent, var(--teal));
}
.mockup-body .mhero::after {
  content: "";
  position: absolute;
  left: 14%;
  top: 36%;
  width: 40%;
  height: 12%;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.85);
}
.mockup-body .mhero::before {
  content: "";
  position: absolute;
  left: 14%;
  top: 58%;
  width: 22%;
  height: 9%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
}
.mockup-body .mrow {
  position: absolute;
  left: 8%;
  right: 8%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6%;
}
.mockup-body .mrow.r1 {
  top: 56%;
}
.mockup-body .mrow.r2 {
  top: 78%;
}
.mockup-body .mrow span {
  aspect-ratio: 1/1;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(20, 21, 29, 0.06);
}
.mockup-body .mrow.r2 span {
  aspect-ratio: 3/1;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.7);
}

/* =====================================================================
   10. WORK CARDS
   ===================================================================== */

.work-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
}
.work-thumb {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 26px 26px 0;
  background: var(--accent-50, var(--teal-50));
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.work-thumb .mockup {
  transform: translateY(0);
  transition: transform 0.5s var(--ease);
}
.work-card:hover .work-thumb {
  box-shadow: var(--shadow-lg);
}
.work-card:hover .work-thumb .mockup {
  transform: translateY(-8px) scale(1.015);
}

.work-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.work-meta h3 {
  font-size: 1.3rem;
}
.work-meta .work-cat {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: 3px;
}

.work-card .visit {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--bg-2);
  color: var(--ink);
  transition:
    background 0.25s,
    color 0.25s,
    transform 0.25s var(--ease);
}
.work-card .visit svg {
  width: 18px;
  height: 18px;
}
.work-card:hover .visit {
  background: var(--accent, var(--teal));
  color: #fff;
  transform: rotate(-12deg);
}
.work-desc {
  font-size: 0.98rem;
  color: var(--muted);
}

/* =====================================================================
   11. SERVICE CARDS
   ===================================================================== */

.svc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    border-color 0.3s;
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.svc-ico {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  background: var(--accent-50, var(--teal-50));
  color: var(--accent, var(--teal));
}
.svc-ico svg {
  width: 26px;
  height: 26px;
}
.svc-card h3 {
  font-size: 1.28rem;
  margin-bottom: 9px;
}
.svc-card p {
  color: var(--muted);
  font-size: 1rem;
}

/* =====================================================================
   12. STATS
   ===================================================================== */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat {
  padding: 8px 0;
}
.stat .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}
.stat .lbl {
  margin-top: 10px;
  font-weight: 600;
  color: var(--muted);
}

/* =====================================================================
   13. PROCESS STEPS
   ===================================================================== */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  position: relative;
  padding-top: 28px;
  border-top: 2px solid var(--line);
}
.step .sn {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--accent, var(--teal));
  letter-spacing: 0.04em;
}
.step h3 {
  font-size: 1.3rem;
  margin: 14px 0 8px;
}
.step p {
  color: var(--muted);
  font-size: 0.98rem;
}
.step::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 46px;
  height: 2px;
  background: var(--accent, var(--teal));
}

/* =====================================================================
   14. TESTIMONIALS
   ===================================================================== */

.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}
.quote-card .stars {
  display: flex;
  gap: 3px;
  color: var(--yellow);
}
.quote-card .stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.quote-card blockquote {
  font-size: 1.12rem;
  line-height: 1.5;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.quote-card .who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.quote-card .who .av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-family: var(--font-display);
}
.quote-card .who b {
  display: block;
  font-weight: 700;
}
.quote-card .who span {
  font-size: 0.88rem;
  color: var(--muted);
}

/* =====================================================================
   15. CLIENT LOGOS
   ===================================================================== */

.logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 44px;
}
.logos .clogo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  opacity: 0.42;
  transition: opacity 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.logos .clogo:hover {
  opacity: 0.9;
}
.logos .clogo .gd {
  width: 16px;
  height: 16px;
  border-radius: 5px;
}

/* =====================================================================
   16. WORK FILTERS
   ===================================================================== */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.filter {
  padding: 9px 17px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: #fff;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-2);
  transition: all 0.2s;
}
.filter:hover {
  border-color: var(--ink);
}
.filter.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* =====================================================================
   17. CTA BAND
   ===================================================================== */

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(44px, 6vw, 80px);
  background: var(--bg-dark);
  color: #fff;
  text-align: center;
}
.cta-band .blob {
  opacity: 0.4;
}
.bg-dark .blob,
.cta-band .blob {
  mix-blend-mode: screen;
}
.cta-band h2 {
  position: relative;
  z-index: 1;
}
.cta-band p {
  position: relative;
  z-index: 1;
}
.cta-band .hero-cta {
  position: relative;
  z-index: 1;
  justify-content: center;
}

/* =====================================================================
   18. CONTACT PAGE LAYOUT
   ===================================================================== */

.contact-section {
  padding-top: clamp(48px, 6vw, 84px);
  padding-bottom: clamp(68px, 9vw, 116px);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

/* Left column */
.contact-aside {
  display: flex;
  flex-direction: column;
}

.contact-tab-info {
  display: block;
}
.contact-tab-info--hidden {
  display: none;
}

.contact-heading {
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  margin-top: 16px;
}

.contact-lead {
  margin-top: 18px;
  max-width: 440px;
}

/* Eyebrow colour modifiers */
.eyebrow--coral {
  color: var(--coral);
}
.eyebrow--blue {
  color: var(--blue);
}
.eyebrow--teal {
  color: var(--teal);
}
.eyebrow--green {
  color: var(--green);
}

/* Contact detail list */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 36px;
}

.contact-list__item {
  display: flex;
  gap: 14px;
  align-items: center;
}

.contact-list__label {
  display: block;
}

.contact-list__value {
  color: var(--muted);
}

/* Contact icon badge */
.ci {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex: none;
}
.ci svg {
  width: 20px;
  height: 20px;
}

.ci--teal {
  background: var(--teal-50);
  color: var(--teal);
}
.ci--green {
  background: var(--green-50);
  color: var(--green);
}
.ci--yellow {
  background: var(--yellow-50);
  color: #caa12e;
}
.ci--blue {
  background: var(--blue-50);
  color: var(--blue);
}

/* =====================================================================
   19. FORM CARD, TABS & FIELDS
   ===================================================================== */

/* Card wrapper */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: var(--shadow);
}

/* Tab switcher pill */
.form-tabs {
  display: flex;
  gap: 6px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px;
  margin-bottom: 28px;
}

.form-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s;
  white-space: nowrap;
}
.form-tab svg {
  width: 16px;
  height: 16px;
}
.form-tab.active {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
}
.form-tab:not(.active):hover {
  color: var(--ink);
}

/* Tab panels */
.tab-panel {
  display: block;
}
.tab-panel--hidden {
  display: none;
}

/* Form grid */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 700;
  font-size: 0.92rem;
}
.field__optional {
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-2);
  background: #fff;
  font-size: 1rem;
  width: 100%;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.field textarea {
  resize: vertical;
  min-height: 130px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-50);
}

/* Submit button utilities */
.btn-full {
  width: 100%;
  margin-top: 22px;
}

.btn-support {
  background: var(--blue);
  color: #fff;
}
.btn-support:hover {
  background: var(--indigo);
}

/* Privacy / helper notes below buttons */
.form-privacy-note {
  font-size: 0.82rem;
  margin-top: 14px;
  text-align: center;
}

/* Success state */
.form-success {
  display: none;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--green-50);
  color: #1f6b39;
  font-weight: 600;
  align-items: center;
  gap: 14px;
}
.form-success.show {
  display: flex;
}
.form-success svg {
  width: 26px;
  height: 26px;
  flex: none;
}

.form-hidden {
  display: none;
}

/* OR divider */
.form-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0;
}
.form-divider__line {
  flex: 1;
  height: 1px;
  background: var(--line);
}
.form-divider__label {
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

/* WhatsApp button */
.whatsapp-btn {
  width: 100%;
  background: var(--green-50);
  color: var(--green);
  border: 1px solid color-mix(in srgb, var(--green) 24%, transparent);
}
.whatsapp-btn:hover {
  background: var(--green);
  color: #fff;
}

.form-wa-note {
  font-size: 0.82rem;
  margin-top: 10px;
  text-align: center;
}

/* File upload */
.file-upload-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.file-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  color: var(--ink-2);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
  white-space: nowrap;
}
.file-upload-btn svg {
  width: 15px;
  height: 15px;
}
.file-upload-btn:hover {
  border-color: var(--ink);
  background: #fff;
}

.file-upload-input {
  display: none;
}

.file-name-label {
  font-size: 0.85rem;
  color: var(--muted);
}

/* =====================================================================
   20. FOOTER (renumbered — tab styles added as §19)
   ===================================================================== */

.site-footer {
  background: var(--bg-dark);
  color: #cdd0d8;
  padding-block: 72px 34px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand .wm b {
  color: #fff;
}
.footer-brand p {
  margin-top: 18px;
  max-width: 320px;
  color: #9a9ea8;
}

.footer-col h5 {
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  padding: 6px 0;
  color: #9a9ea8;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 26px;
  color: #80848e;
  font-size: 0.9rem;
}

.socials {
  display: flex;
  gap: 10px;
}
.socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  color: #cdd0d8;
  transition:
    background 0.25s,
    color 0.25s,
    transform 0.25s var(--ease);
}
.socials a:hover {
  background: #fff;
  color: var(--ink);
  transform: translateY(-3px);
}
.socials a svg {
  width: 18px;
  height: 18px;
}

a.whatsapp-FAB {
    position: fixed;
    z-index: 1000;
    bottom: 100px;
    right: 10px;
    color: #fff;
    width: 50px;
    height: 50px;
    background: var(--green);
    border-radius: 50%;
    padding: 8px;
    box-sizing: border-box;

    svg {
      margin-left: 3px;
    }
}
/* =====================================================================
   20. PAGE HERO (inner pages)
   ===================================================================== */

.page-hero {
  padding-block: clamp(54px, 7vw, 96px) clamp(20px, 3vw, 40px);
  position: relative;
  overflow: hidden;
}
.page-hero .eyebrow {
  color: var(--accent, var(--teal));
}
.page-hero .display {
  margin-top: 18px;
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
}
.page-hero .lead {
  margin-top: 20px;
  max-width: 600px;
}

/* =====================================================================
   21. SCROLL-REVEAL ANIMATION
   ===================================================================== */

/* Hidden state only applies when JS is active (.js on <html>),
   so content is never permanently invisible if scripts fail. */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* Fallback: if rAF never ticks, show everything immediately. */
.no-anim .reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.reveal[data-d="1"] {
  transition-delay: 0.08s;
}
.reveal[data-d="2"] {
  transition-delay: 0.16s;
}
.reveal[data-d="3"] {
  transition-delay: 0.24s;
}
.reveal[data-d="4"] {
  transition-delay: 0.32s;
}
.reveal[data-d="5"] {
  transition-delay: 0.4s;
}

@media (prefers-reduced-motion: reduce) {
  .blob {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =====================================================================
   22. RESPONSIVE
   ===================================================================== */

@media (max-width: 1000px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 880px) {
  .nav-links,
  .nav-right .btn {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .cols-3,
  .cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 560px) {
  .container {
    padding-inline: 18px;
  }
  .cols-2,
  .cols-3,
  .cols-4 {
    grid-template-columns: 1fr;
  }
  .hero-trust {
    gap: 8px 16px;
  }
  .form-tabs {
    flex-direction: column;
    border-radius: var(--radius-sm);
  }
  .form-tab {
    border-radius: var(--radius-sm);
  }
}
